How joycelyn-0709/student-attendance-system works
This is a small Flask application for recording and reviewing student attendance. A user can add students, mark attendance for a selected student, and view recorded attendance; the app stores student and attendance records in SQLite. The main runtime logic is concentrated in app.py, which also creates the tables and opens database connections. The README documents the capabilities and SQLite use; template relationships and database operations are visible in the app.py excerpt. Template contents were not sampled, so their internal navigation is not mapped.
Main entry points: app.py Database connection · attendance.db Attendance database · index.html Home page · add_student.html Add student page
Components 12
Web pages
- Home page
templates/index.html - Add student page
templates/add_student.html - Mark attendance page
templates/mark_attendance.html - Attendance results page
templates/view_attendance.html
Attendance workflows
- Home route
app.py - Add student
app.py - Mark attendance
app.py - View attendance
app.py
SQLite storage
- Database connection
app.py - Table setup
app.py - Attendance database
attendance.db
Other components
- User
Connections 17
- User → Home route: opens app
README.md - User → Add student: adds student
README.md - User → Mark attendance: marks attendance
README.md - User → View attendance: views records
README.md - Home route → Home page: renders
app.py - Add student → Add student page: renders
app.py - Mark attendance → Mark attendance page: renders
app.py - View attendance → Attendance results page: renders
app.py - Add student → Database connection: opens connection
app.py - Mark attendance → Database connection: opens connection
app.py - View attendance → Database connection: opens connection
app.py - Table setup → Database connection: uses
app.py - Database connection → Attendance database: connects to
app.py - Table setup → Attendance database: creates tables
app.py - Add student → Attendance database: writes student
app.py - Mark attendance → Attendance database: reads students, writes attendance
app.py - View attendance → Attendance database: reads joined records
app.py