How revanthdigajari/attendify works
Attendify combines an administrative attendance dashboard with a FastAPI backend for authentication, administration, and teacher/student attendance workflows. The visible admin frontend initializes dashboard data and local state, then presents student, teacher, mapping, and attendance views; its sampled attendance actions update local state rather than showing API calls. The backend exposes separate routers, with face verification, geofencing, and session checks supporting attendance workflows. The README is empty, and the listed Android projects contain no application source in this tree, so their runtime roles and frontend-to-backend wiring cannot be established here.
Main entry points: App.tsx Dashboard app · main.py FastAPI app · student.py Student attendance · database.py Database access
Components 24
Admin dashboard
- Dashboard app
admin/frontend/src/App.tsx - Students view
admin/frontend/src/pages/Students.tsx - Attendance view
admin/frontend/src/pages/Attendance.tsx - Dashboard view
admin/frontend/src/pages/Dashboard.tsx - Teachers view
admin/frontend/src/pages/Teachers.tsx - Mappings view
admin/frontend/src/pages/Mappings.tsx - Student state
admin/frontend/src/hooks/useStudents.ts - Attendance state
admin/frontend/src/hooks/useAttendance.ts - Sample data
admin/frontend/src/data/mockData.ts - UI components
admin/frontend/src/components
Backend API
- FastAPI app
backend/app/main.py - Authentication
backend/app/routers/auth.py - Admin operations
backend/app/routers/admin.py - Teacher operations
backend/app/routers/teacher.py - Student attendance
backend/app/routers/student.py - Health checks
backend/app/routers/health.py
Attendance services
- Face verification
backend/app/services/face_service.py - Location checks
backend/app/services/geofence.py - Session checks
backend/app/services/session_security.py
Identity and storage
- Token security
backend/app/core/security.py - User records
backend/app/models/user.py - Manual records
backend/app/models/manual_attendance.py - Database access
backend/app/database.py
Other components
- Admin operator
Connections 39
- Admin operator → Dashboard app: uses
- Dashboard app → Students view: renders
admin/frontend/src/App.tsx - Dashboard app → Attendance view: renders
admin/frontend/src/App.tsx - Dashboard app → Dashboard view: renders
admin/frontend/src/App.tsx - Dashboard app → Teachers view: renders
admin/frontend/src/App.tsx - Dashboard app → Mappings view: renders
admin/frontend/src/App.tsx - Dashboard app → Student state: uses
admin/frontend/src/App.tsx - Dashboard app → Attendance state: uses
admin/frontend/src/App.tsx - Dashboard app → Sample data: initializes
admin/frontend/src/App.tsx - Students view → UI components: uses
admin/frontend/src/pages/Students.tsx - Attendance view → UI components: uses
admin/frontend/src/pages/Attendance.tsx - Teachers view → UI components: uses
admin/frontend/src/pages/Teachers.tsx - Mappings view → UI components: uses
admin/frontend/src/pages/Mappings.tsx - FastAPI app → Health checks: registers
backend/app/main.py - FastAPI app → Authentication: registers
backend/app/main.py - FastAPI app → Admin operations: registers
backend/app/main.py - FastAPI app → Teacher operations: registers
backend/app/main.py - FastAPI app → Student attendance: registers
backend/app/main.py - FastAPI app → Face verification: warms model
backend/app/main.py - Authentication → Database access: queries via
backend/app/routers/auth.py - Authentication → User records: reads
backend/app/routers/auth.py - Authentication → Token security: creates token
backend/app/routers/auth.py - Admin operations → Database access: uses
backend/app/routers/admin.py - Admin operations → Token security: checks access
backend/app/routers/admin.py - Admin operations → User records: uses
backend/app/routers/admin.py - Admin operations → Manual records: uses
backend/app/routers/admin.py - Teacher operations → Database access: uses
backend/app/routers/teacher.py - Teacher operations → Token security: checks access
backend/app/routers/teacher.py - Teacher operations → Location checks: checks location
backend/app/routers/teacher.py - Teacher operations → Session checks: checks session
backend/app/routers/teacher.py - Student attendance → Database access: uses
backend/app/routers/student.py - Student attendance → Token security: checks access
backend/app/routers/student.py - Student attendance → Face verification: verifies face
backend/app/routers/student.py - Student attendance → Location checks: checks location
backend/app/routers/student.py - Student attendance → Session checks: checks session
backend/app/routers/student.py - Health checks → Database access: uses
backend/app/routers/health.py - Health checks → Token security: uses
backend/app/routers/health.py - User records → Database access: uses base
backend/app/models/user.py - Manual records → Database access: uses base
backend/app/models/manual_attendance.py