How sabharish-eng/smart-campus-management works
Smart Campus Management System is a small Flask application for campus administration. A browser user reaches the dashboard or one of four management workflows: student records, daily attendance, room availability, and notices. Each workflow is implemented in app.py, renders its corresponding template, and reads or updates the shared SQLite database; the dashboard also summarizes campus counts and recent notices. The source excerpt shows route and database behavior, while the README documents the product capabilities. Templates are represented as presentation components, not as independently verified business logic.
Main entry points: base.html Shared page layout · app.py SQLite database · dashboard.html Dashboard view · students.html Student view
Components 13
Web interface
- Dashboard view
templates/dashboard.html - Student view
templates/students.html - Attendance view
templates/attendance.html - Rooms view
templates/rooms.html - Notices view
templates/notices.html - Shared page layout
templates/base.html
Campus workflows
- Dashboard
app.py - Student records
app.py - Attendance
app.py - Room availability
app.py - Campus notices
app.py
Persistence
- SQLite database
app.py
Other components
- Browser user
Connections 20
- Browser user → Dashboard: requests
app.py - Browser user → Student records: requests
app.py - Browser user → Attendance: requests
app.py - Browser user → Room availability: requests
app.py - Browser user → Campus notices: requests
app.py - Dashboard → SQLite database: reads counts
app.py - Dashboard → Dashboard view: renders
app.py - Student records → SQLite database: reads and updates
app.py - Student records → Student view: renders
app.py - Attendance → SQLite database: reads and updates
app.py - Attendance → Attendance view: renders
app.py - Room availability → SQLite database: reads and updates
app.py - Room availability → Rooms view: renders
app.py - Campus notices → SQLite database: reads and updates
app.py - Campus notices → Notices view: renders
app.py - Dashboard view → Shared page layout: extends
- Student view → Shared page layout: extends
- Attendance view → Shared page layout: extends
- Rooms view → Shared page layout: extends
- Notices view → Shared page layout: extends