How imamaaa/automated-timetable-generator works
This is a Flask-based university timetable generator. An administrator opens the scheduling interface, generates weekday time slots, assigns courses to rooms by drag and drop, reviews course details and scheduling conflicts, then saves or exports the timetable. The graph separates the interface, scheduling behavior, Flask endpoints, and SQL Server data. README-described capabilities such as student and instructor clash alerts are included, though the relevant implementation was not fully sampled; those links use README evidence.
Main entry points: script.js Timetable interaction · app.py Flask routes · SQL_TimeTable.sql SQL Server data · index.html Scheduling page
Components 15
Scheduling interface
- Scheduling page
templates/index.html
Timetable operations
- Timetable interaction
static/script.js - Slot generation
static/script.js - Course assignment
static/script.js - Conflict checks
static/script.js - Course details popup
static/script.js - PDF export
static/script.js - Save and reset
static/script.js
Flask services
- Flask routes
app.py - Course and detail API
app.py - Room API
app.py - Student data API
app.py - Timetable save/reset API
app.py
Schedule data
- SQL Server data
SQL_TimeTable.sql
Other components
- Administrator
Connections 22
- Administrator → Scheduling page: uses
README.md - Scheduling page → Flask routes: loads page
app.py - Scheduling page → Timetable interaction: uses
- Timetable interaction → Course and detail API: fetches courses
static/script.js - Timetable interaction → Room API: fetches rooms
README.md - Timetable interaction → Student data API: fetches student data
static/script.js - Timetable interaction → Slot generation: generates slots
static/script.js - Timetable interaction → Course assignment: assigns courses
README.md - Course assignment → Conflict checks: checks clashes
README.md - Timetable interaction → Course details popup: requests details
static/script.js - Course details popup → Course and detail API: fetches details
static/script.js - Timetable interaction → PDF export: exports timetable
static/script.js - Timetable interaction → Save and reset: saves or resets
README.md - Save and reset → Timetable save/reset API: submits changes
README.md - Flask routes → Course and detail API: routes to
app.py - Flask routes → Room API: routes to
app.py - Flask routes → Student data API: routes to
app.py - Flask routes → Timetable save/reset API: routes to
app.py - Course and detail API → SQL Server data: queries
app.py - Room API → SQL Server data: queries
app.py - Student data API → SQL Server data: queries
app.py - Timetable save/reset API → SQL Server data: writes schedule
app.py