rustic-attendance

byReeba zeeshan

I've built a fully functional mobile attendance tracking system with all the features you requested: ✅ Core Features Implemented Teacher Flow: Select "Teacher" role → Start Session button Random 6-character code generation (e.g., X7KR2Q) 2-minute countdown timer with circular progress bar Live attendance log (updates every 3 seconds) Shows registration number, timestamp, and distance from teacher Student Flow: Select "Student" role → Enter registration number + session code GPS location captured automatically Geofencing validation (200-meter radius) Duplicate entry prevention Success message shows distance from teacher Session History: View all past sessions with attendance counts Detailed view for each session showing all attendance records with timestamps and locations 🔧 Technical Implementation Backend (FastAPI + MongoDB): 5 REST API endpoints all working ✅ Haversine formula for accurate distance calculation 200m geofencing enforced server-side Session expiry validation (2 minutes) Comprehensive error handling Frontend (Expo React Native): 5 screens with smooth navigation Location permissions handling (iOS & Android) Real-time polling for live updates Visual countdown timer with color transitions Mobile-first design with dark theme Keyboard-aware forms Testing Results: ✅ All backend APIs tested and working ✅ Session creation with GPS coordinates ✅ Geofencing rejects locations > 200m (tested with 1425m rejection) ✅ Duplicate entries blocked successfully ✅ Session history and details working ✅ Live attendance updates functioning 📱 Access Your App Web/Mobile: https://class-entry.preview.emergentagent.com Backend API: Running on port 8001 Database: MongoDB with persistent storage

No preview

Comments (0)

No comments yet. Be the first!

Architecture

No Services Diagrams Yet

Architecture diagrams will be automatically generated when the Project Manager creates tasks for your project.

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

Home: Select Student Role
Attendance: Enter Reg Number
Attendance: Enter Session Code
Attendance: Capture Location
Confirmation: View Distance
History: View Past Sessions

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

Home: Select Student Role
Attendance: Enter Reg Number
Attendance: Enter Session Code
Attendance: Capture Location
Confirmation: View Distance
History: View Past Sessions