Quiz API Documentation

API Endpoints

  • /api/quizzes/ - List all quizzes
  • /api/quizzes/:id/ - Get a specific quiz by ID
  • /api/questions/ - List all questions
  • /api/questions/:id/ - Get a specific question by ID

Setup Instructions

  1. Clone the repository
  2. Install dependencies with pip install -r requirements.txt
  3. Run migrations with python manage.py migrate
  4. Load the quiz data with python manage.py load_quiz_data
  5. Start the server with python manage.py runserver