Bero Dev is a school attendance management system built for real-time classroom attendance tracking.
Teachers can view attendance for the current class, and the platform is designed to let students check their own attendance records as well. The project uses React Router for the web app and Supabase for authentication and database management.
- Teacher attendance dashboard
- Attendance tracking by lecture, date, and period
- Device-based attendance update API
- Supabase email/password authentication
- Timetable-based current class lookup
- Structured school data model for students, teachers, classrooms, and enrollments
- React 19
- React Router 7
- TypeScript
- Vite
- Tailwind CSS 4
- Supabase
- Luxon
- shadcn/ui
npm installCreate .env.local:
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_server_only_service_role_keySUPABASE_SERVICE_ROLE_KEY is a server-only value. Do not expose it in browser code.
POST /api requires two client-specific credentials created in the settings screen:
clientID: include it in the JSON body asclientIDtoken: include it asAuthorization: Bearer <token>orx-device-api-token
Each attendance client has its own token. The raw token is shown only once when the client is created, while the clientID remains visible in the client management UI.
npm run devApp URL:
http://localhost:5173
- Student attendance history and report pages
- Admin management workflows
- Live realtime dashboard updates
- Better access control and production-ready security policies
- Automated tests and seed data