How adityarajadn/mripatmu works
MripatMU is a school attendance and classroom-exit monitoring dashboard UI. A user enters through the routed React app, then uses the dashboard and dedicated student, attendance, exit, and notification views; the available data layer is mock data rather than a documented backend. The source index identifies the route and component relationships, but several page implementations are only partially shown or unsampled, so those connections are limited to indexed references.
Main entry points: App.tsx Route map · mockData.ts Mock records · Dashboard.tsx Dashboard · Attendance.tsx Attendance records
Components 18
Application shell
- React entry
src/main.tsx - Route map
src/App.tsx - Dashboard layout
src/layouts/DashboardLayout.tsx - Login view
src/pages/Login.tsx
Monitoring views
- Dashboard
src/pages/Dashboard.tsx - Camera view
src/components/CameraView.tsx - Attendance records
src/pages/Attendance.tsx - Exit monitoring
src/pages/Exits.tsx - Notifications
src/pages/Notifications.tsx
Student records
- Student directory
src/pages/Students.tsx - Student profile
src/pages/StudentDetail.tsx
Shared UI and data
- View states
src/components/StateView.tsx - Stat cards
src/components/StatCard.tsx - Search filters
src/components/SearchFilterBar.tsx - Status badges
src/components/StatusBadge.tsx - Mock records
src/data/mockData.ts - Domain types
src/types/index.ts
Other components
- School staff
Connections 26
- School staff → React entry: opens
src/main.tsx - React entry → Route map: renders
src/main.tsx - Route map → Dashboard layout: routes to
src/App.tsx - Route map → Login view: routes to
src/App.tsx - Route map → Dashboard: routes to
src/App.tsx - Route map → Student directory: routes to
src/App.tsx - Route map → Student profile: routes to
src/App.tsx - Route map → Attendance records: routes to
src/App.tsx - Route map → Exit monitoring: routes to
src/App.tsx - Route map → Notifications: routes to
src/App.tsx - Dashboard → Camera view: renders
src/pages/Dashboard.tsx - Dashboard → View states: renders
src/pages/Dashboard.tsx - Dashboard → Stat cards: renders
src/pages/Dashboard.tsx - Student directory → Mock records: reads
src/pages/Students.tsx - Student directory → Search filters: renders
src/pages/Students.tsx - Student directory → Status badges: renders
src/pages/Students.tsx - Student profile → Mock records: reads
src/pages/StudentDetail.tsx - Student profile → Status badges: renders
src/pages/StudentDetail.tsx - Student profile → Stat cards: renders
src/pages/StudentDetail.tsx - Attendance records → Mock records: reads
src/pages/Attendance.tsx - Attendance records → Search filters: renders
src/pages/Attendance.tsx - Attendance records → Status badges: renders
src/pages/Attendance.tsx - Exit monitoring → Mock records: reads
src/pages/Exits.tsx - Exit monitoring → Status badges: renders
src/pages/Exits.tsx - Notifications → Mock records: reads
src/pages/Notifications.tsx - Mock records → Domain types: uses types
src/data/mockData.ts