A backend-focused quiz API built with Python and FastAPI. Designing quiz questions via RESTful endpoints, with the intention of scalability in mind for the future.
- Create, read, update, and delete quiz questions
- FastAPI-powered endpoints with automatic Swagger docs
- Modular folder structure for scalability
- JSON-based quiz data handling
- Python 3.11+
- FastAPI
- Uvicorn
- Pydantic
app/
βββ main.py
βββ models/
βββ routes/
βββ schemas/
βββ utils/
# Clone the repo
git clone https://github.com/Betty-WC11/Python-FastAPI-QuizAPI.git
cd Python-FastAPI-QuizAPI
# Create virtual environment
python -m venv venv
source venv\Scripts\activate # on Windows
# Install dependencies
pip install -r requirements.txt
# Run the app
uvicorn app.main:app --reload