How shivad2025lcse-bit/time_table works
Smart Classroom & Timetable Scheduler is a role-based college logistics application. Users enter through a React dashboard; authenticated workflows manage institutional records, build and operate timetables, handle temporary changes and substitutions, and present role-specific schedule information. The README also describes student allocation, advisor views, notifications, and access control. The graph reflects documented capabilities and sampled controller/service references; unsampled subsystems are included without guessed internal call chains. Several controller and service excerpts are partial, so links are limited to evidenced references and explicit README statements.
Main entry points: controller REST endpoints · AuthService.java Authentication · TimetableController.java Timetable management · TimetableOperationsController.java Substitution operations
Components 20
Web interface
- Role dashboards
frontend/src/DashboardLayout.jsx - Route selection
frontend/src/App.jsx - REST endpoints
src/main/java/com/smarttimetable/controller
Identity and access
- Authentication
src/main/java/com/smarttimetable/service/AuthService.java - User lookup
src/main/java/com/smarttimetable/security/CustomUserDetailsService.java - JWT and role security
src/main/java/com/smarttimetable/security
Institution records
- Student allocation
src/main/java/com/smarttimetable/controller/StudentController.java - Class and staff records
src/main/java/com/smarttimetable/controller/SectionController.java - Persistent domain data
src/main/java/com/smarttimetable/repository
Scheduling operations
- Timetable management
src/main/java/com/smarttimetable/controller/TimetableController.java - Schedule generation
src/main/java/com/smarttimetable/service/TimetableGeneratorService.java - Conflict checking
src/main/java/com/smarttimetable/service/ConflictService.java - Temporary schedules
src/main/java/com/smarttimetable/service/TemporaryTimetableService.java - Substitution operations
src/main/java/com/smarttimetable/controller/TimetableOperationsController.java - Student schedule view
src/main/java/com/smarttimetable/controller/StudentDashboardController.java - Timetable import parsing
src/main/java/com/smarttimetable/service/AiTimetableParserService.java
Learning and messaging
- Quiz management
src/main/java/com/smarttimetable/controller/QuizController.java - AI quiz generation
src/main/java/com/smarttimetable/service/AiQuizGeneratorService.java - Email notifications
src/main/java/com/smarttimetable/service/EmailNotificationService.java
Other components
- Admin, faculty, student
Connections 18
- Admin, faculty, student → Route selection: opens
- Route selection → Role dashboards: routes to
frontend/src/App.jsx - Role dashboards → REST endpoints: uses
- REST endpoints → Authentication: authenticates with
- Authentication → User lookup: looks up users
src/main/java/com/smarttimetable/service/AuthService.java - User lookup → Persistent domain data: queries
src/main/java/com/smarttimetable/security/CustomUserDetailsService.java - Authentication → JWT and role security: issues token
src/main/java/com/smarttimetable/service/AuthService.java - REST endpoints → Student allocation: exposes
- REST endpoints → Class and staff records: exposes
- Timetable management → Schedule generation: generates with
src/main/java/com/smarttimetable/controller/TimetableController.java - Timetable management → Conflict checking: checks conflicts
src/main/java/com/smarttimetable/controller/TimetableController.java - Substitution operations → Temporary schedules: manages changes
src/main/java/com/smarttimetable/controller/TimetableOperationsController.java - Student schedule view → Temporary schedules: reads effective schedule
src/main/java/com/smarttimetable/controller/StudentDashboardController.java - Substitution operations → Email notifications: dispatches email
src/main/java/com/smarttimetable/controller/TimetableOperationsController.java - Quiz management → AI quiz generation: generates questions
- Admin, faculty, student → Student allocation: allocates students
- Admin, faculty, student → Substitution operations: requests substitution
- Timetable import parsing → Timetable management: supports timetable import
src/main/java/com/smarttimetable/controller/TimetableController.java