School Schedule Application

This application provides an API for managing school schedules, including classes, subjects, teachers, and schedules.

Prerequisites

  • Docker
  • Docker Compose

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/school-schedule.git
cd school-schedule
  1. Build the Docker images:
docker-compose build
  1. Start the Docker containers via up docker compose:
docker-compose up -d
  1. Run the migrations:
docker-compose exec web python manage.py migrate
  1. Running Tests:
docker-compose exec web python manage.py test

API Endpoints

  • List/Create Classes: GET /class/
  • List/Create Subjects: GET /subject/
  • List/Create Teachers: GET /teacher/
  • List/Create Schedules: GET /schedule/
  • Get Class Schedule for Today: GET /schedule/?for_today=true&class_name={class_name}