Skip to content

A Streamlit-based quiz app for practicing NoSQL and MongoDB MCQs, integrated with MongoDB Atlas for dynamic question loading, scoring, and per-question feedback.

License

Notifications You must be signed in to change notification settings

Navodhya-Fernando/nosql-quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoSQL MCQ Practice App 🗃️

Interactive Streamlit-based quiz platform for practicing NoSQL and MongoDB MCQs, with real-time scoring and per-question feedback.

Platform
Language
Database
License
Version


Live App

🔗 Try the App Here


Features

  • Multiple Model Papers: Practice 6 sets of 40 MCQs each.
  • Dynamic Question Loading: Fetches questions from MongoDB Atlas.
  • Per-Question Feedback: See correct answers after submission.
  • Score Summary: Instant scoring with detailed breakdown.
  • Shuffle Options: Randomize questions and answer order.

Installation

1. Install dependencies

pip install -r requirements.txt

2. Setup MongoDB

  • Create a free MongoDB Atlas cluster.
  • Add your connection URI and DB name to .streamlit/secrets.toml:
MONGO_URI = "your-mongodb-uri"
DB_NAME = "Questions"

Usage

Run the app locally:

streamlit run app.py

Open the browser at the URL provided by Streamlit (default: http://localhost:8501).


Project Structure

nosql-mcq-practice/
├─ app.py                     # Main Streamlit app  
├─ requirements.txt           # Python dependencies  
├─ .streamlit/
│  └─ secrets.toml            # MongoDB credentials (not in git)  
├─ README.md                  # This file  
└─ .gitignore                 # Ignore secrets, caches, etc.  

Roadmap

  • Add per-question explanations.
  • Add timer and analytics dashboard.
  • Export results to CSV.

License

MIT — see LICENSE for details.

About

A Streamlit-based quiz app for practicing NoSQL and MongoDB MCQs, integrated with MongoDB Atlas for dynamic question loading, scoring, and per-question feedback.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages