Teacher flow • Select “Teacher” → hit Start Session • A random 6-character code is generated (e.g. X7KR2Q) • A 2-minute countdown timer + progress bar shows how long it’s valid • Live attendance log updates as students mark in Student flow • Select “Student” → enter your Registration Number (e.g. 2022-BS-DS-042) + the session code • App requests your GPS location — both are captured on submission • Duplicate entries are blocked (same reg no can’t mark twice) MVP scope & what’s simulated: • In this MVP, teacher and student share the same browser tab (state is in-memory) — in a real app, the session code + attendance would sync through a backend/database (Firebase, Supabase, etc.) • Location is captured via browser’s native navigator.geolocation • The 2-minute expiry is enforced client-side To go production, you’d add: 1. Backend (Firebase Realtime DB is ideal) to sync sessions across devices 2. Auth for teacher accounts 3. Admin dashboard to export attendance as CSV 4. Geofencing (only allow marking within X meters of classroom)
Sign in to leave a comment

No comments yet. Be the first!