How ishitachvn/attendance-app works
MediTrack is a Flutter attendance and municipal-worker tracking app. Workers authenticate, mark geofenced attendance with location and photo proof, and send GPS updates; administrators view worker locations, route history, and attendance logs. The tree identifies the screens, services, and models, while the README documents the main capabilities and Firebase integrations. Dart implementation excerpts were not provided, so links between particular screens and services are omitted where the README does not establish them.
Main entry points: mark_attendance_screen.dart Mark Attendance · admin_dashboard_screen.dart Admin Dashboard · login_screen.dart Role Login · firestore_service.dart Firestore Access
Components 19
Authentication
- Role Login
lib/screens/auth/login_screen.dart - Authentication
lib/services/auth_service.dart - User Profile
lib/models/user_model.dart
Worker Operations
- Worker Home
lib/screens/worker/worker_home_screen.dart - Mark Attendance
lib/screens/worker/mark_attendance_screen.dart - Photo Proof
lib/screens/worker/camera_screen.dart - Worker Map
lib/screens/worker/map_screen.dart - Attendance Record
lib/models/attendance_model.dart - Task Data
lib/models/task_model.dart
Administration
- Admin Dashboard
lib/screens/admin/admin_dashboard_screen.dart
Data Services
- Firestore Access
lib/services/firestore_service.dart - Photo Storage
lib/services/storage_service.dart - Firebase Auth
- Firestore
- Firebase Storage
Other components
- Worker
- Administrator
- GPS Location
- Google Maps
Connections 14
- Worker → Role Login: signs in
README.md - Administrator → Role Login: signs in
README.md - Role Login → Authentication: authenticates
- Authentication → Firebase Auth: uses
README.md - Worker → Mark Attendance: marks attendance
README.md - Mark Attendance → GPS Location: captures location
README.md - Mark Attendance → Photo Proof: captures proof
README.md - Photo Proof → Photo Storage: uploads photo
README.md - Photo Storage → Firebase Storage: stores photo
README.md - GPS Location → Firestore Access: sends updates
README.md - Firestore Access → Firestore: writes data
README.md - Administrator → Admin Dashboard: views tracking
README.md - Admin Dashboard → Google Maps: shows locations
README.md - Admin Dashboard → Firestore Access: reads logs