How dishagupta275/e-display works
E-DISPLAY is a digital classroom information system: administrators manage classes, schedules, notices, and devices, while classroom displays present timetable and notice content. The publisher and subscriber are separate frontends backed by a Flask API, with MQTT documented as the real-time delivery channel. README-described offline display behavior and faculty mobile access lack dedicated implementation paths in this tree, so they are noted as capabilities rather than assigned invented modules; unsampled route internals are grouped by their exact route-file paths.
Main entry points: app.py Flask application · src/App.jsx Publisher app · api.js Publisher API client · src/App.jsx Subscriber app
Components 20
Publisher console
- Publisher app
publisher-frontend/src/App.jsx - Publisher authentication
publisher-frontend/src/context/AuthContext.jsx - Class and timetable management
publisher-frontend/src/pages/ManageClasses.jsx - Notices and notifications
publisher-frontend/src/pages/Notifications.jsx - Device monitoring
publisher-frontend/src/pages/DeviceMonitor.jsx - Publisher API client
publisher-frontend/src/utils/api.js
Backend services
- Flask application
backend/app.py - Authentication and roles
backend/routes/auth.py - Classes and subjects
backend/routes/classes.py - Timetable
backend/routes/timetable.py - Notices and notifications
backend/routes/noticeboards.py - Device and event routes
backend/routes/devices.py - Domain models
backend/models.py - Application database
backend/database.py
Classroom display
- Subscriber app
subscriber-frontend/src/App.jsx - Timetable display
subscriber-frontend/src/Display.jsx - Notice board display
subscriber-frontend/src/NoticeBoard.jsx
Realtime messaging
- MQTT broker
Other components
- Admin / HOD
- Students / classroom
Connections 26
- Admin / HOD → Publisher app: manage through
README.md - Publisher app → Publisher authentication: provides routes
publisher-frontend/src/App.jsx - Publisher app → Class and timetable management: routes to
publisher-frontend/src/App.jsx - Publisher app → Notices and notifications: routes to
publisher-frontend/src/App.jsx - Publisher app → Device monitoring: routes to
publisher-frontend/src/App.jsx - Publisher authentication → Publisher API client: calls auth API
publisher-frontend/src/context/AuthContext.jsx - Class and timetable management → Publisher API client: calls API
- Notices and notifications → Publisher API client: calls API
publisher-frontend/src/pages/Notifications.jsx - Device monitoring → Publisher API client: calls API
publisher-frontend/src/pages/DeviceMonitor.jsx - Publisher API client → Flask application: sends HTTP requests
publisher-frontend/src/utils/api.js - Flask application → Domain models: initializes database models
backend/app.py - Flask application → Authentication and roles: registers routes
- Flask application → Classes and subjects: registers routes
- Flask application → Timetable: registers routes
- Flask application → Notices and notifications: registers routes
- Flask application → Device and event routes: registers routes
- Classes and subjects → Domain models: uses domain models
backend/routes/classes.py - Authentication and roles → Domain models: queries users and roles
backend/routes/auth.py - Notices and notifications → MQTT broker: publishes updates
backend/routes/noticeboards.py - Publisher app → MQTT broker: publishes MQTT
README.md - MQTT broker → Subscriber app: delivers MQTT
README.md - Subscriber app → Timetable display: renders timetable
subscriber-frontend/src/App.jsx - Subscriber app → Notice board display: renders notice board
subscriber-frontend/src/App.jsx - Timetable display → Students / classroom: shows live information
README.md - Notice board display → Students / classroom: shows announcements
README.md - Timetable display → MQTT broker: subscribes to updates
README.md