How moturumonishpvt-byte/admin_web_app_code works
This repository contains two related but distinct products: an attendance administration dashboard with an ERP automation bot, and a React Native face registration/verification app. The dashboard workflow is managed through its tabbed UI; the bot processes attendance sessions and interacts with the ERP. The mobile app registers faces or selects an enrolled face for verification, using image processing, face detection, embeddings, and local storage. Several dashboard and mobile subsystems are represented by paths from the tree and SOURCE INDEX; their internal behavior was not sampled, so their connections are omitted where not evidenced.
Main entry points: src/App.tsx Dashboard UI · main.ts Bot orchestrator · screens/App.tsx Mobile navigation · faceStorage.ts Face storage
Components 34
Attendance dashboard
- Dashboard UI
AdminDashboard/src/App.tsx - Dashboard layout
AdminDashboard/src/components/Layout.tsx - Overview
AdminDashboard/src/components/Overview.tsx - Bot controls
AdminDashboard/src/components/BotManagement.tsx - Student management
AdminDashboard/src/components/StudentManagement.tsx - Faculty management
AdminDashboard/src/components/FacultyManagement.tsx - Face enrollment UI
AdminDashboard/src/components/StudentFaceRegistration.tsx - Timetable upload
AdminDashboard/src/components/FacultyTimetableUpload.tsx - Session monitor
AdminDashboard/src/components/SessionMonitor.tsx - Attendance records
AdminDashboard/src/components/AttendanceRecords.tsx - CSV manager
AdminDashboard/src/components/CSVManager.tsx - System logs
AdminDashboard/src/components/SystemLogs.tsx - Supabase client
AdminDashboard/src/lib/supabase.ts
ERP attendance bot
- Bot orchestrator
AdminDashboard/src/bot/main.ts - CSV processing
AdminDashboard/src/bot/csvProcessor.ts - ERP login
AdminDashboard/src/bot/erpLogin.ts - ERP navigation
AdminDashboard/src/bot/erpNavigation.ts - Attendance marking
AdminDashboard/src/bot/attendanceMarker.ts - Session validation
AdminDashboard/src/bot/validation.ts - Session scheduler
AdminDashboard/src/bot/scheduler.ts - Run reporting
AdminDashboard/src/bot/reportGenerator.ts - Retry handling
AdminDashboard/src/bot/retryManager.ts - Browser manager
AdminDashboard/src/bot/browserManager.ts - Bot logger
AdminDashboard/src/bot/logger.ts
Mobile face app
- Mobile navigation
Facialrecog/react-native-expo-facial-recognition-main/src/screens/App.tsx - Camera screen
Facialrecog/react-native-expo-facial-recognition-main/src/screens/camera.tsx - Face registration
Facialrecog/react-native-expo-facial-recognition-main/src/screens/face-registration.tsx - Face selection
Facialrecog/react-native-expo-facial-recognition-main/src/screens/face-selection.tsx - Face verification
Facialrecog/react-native-expo-facial-recognition-main/src/screens/face-verification.tsx - Face storage
Facialrecog/react-native-expo-facial-recognition-main/src/services/faceStorage.ts
Face recognition runtime
- Face detection
Facialrecog/react-native-expo-facial-recognition-main/src/services/faceDetectionService.ts
Other components
- Supabase data
- Attendance ERP
- Device storage
Connections 37
- Dashboard UI → Dashboard layout: renders
AdminDashboard/src/App.tsx - Dashboard UI → Overview: routes to
AdminDashboard/src/App.tsx - Dashboard UI → Bot controls: routes to
AdminDashboard/src/App.tsx - Dashboard UI → Student management: routes to
AdminDashboard/src/App.tsx - Dashboard UI → Faculty management: routes to
AdminDashboard/src/App.tsx - Dashboard UI → Face enrollment UI: routes to
AdminDashboard/src/App.tsx - Dashboard UI → Timetable upload: routes to
AdminDashboard/src/App.tsx - Dashboard UI → Session monitor: routes to
AdminDashboard/src/App.tsx - Dashboard UI → Attendance records: routes to
AdminDashboard/src/App.tsx - Dashboard UI → CSV manager: routes to
AdminDashboard/src/App.tsx - Dashboard UI → System logs: routes to
AdminDashboard/src/App.tsx - Bot orchestrator → Session scheduler: calls
AdminDashboard/src/bot/main.ts - Bot orchestrator → CSV processing: calls
AdminDashboard/src/bot/main.ts - Bot orchestrator → Browser manager: calls
AdminDashboard/src/bot/main.ts - Bot orchestrator → ERP login: calls
AdminDashboard/src/bot/main.ts - Bot orchestrator → ERP navigation: calls
AdminDashboard/src/bot/main.ts - Bot orchestrator → Attendance marking: calls
AdminDashboard/src/bot/main.ts - Bot orchestrator → Session validation: calls
AdminDashboard/src/bot/main.ts - Bot orchestrator → Run reporting: calls
AdminDashboard/src/bot/main.ts - Bot orchestrator → Retry handling: calls
AdminDashboard/src/bot/main.ts - Bot orchestrator → Supabase client: uses
AdminDashboard/src/bot/main.ts - Bot logger → Supabase client: writes logs
AdminDashboard/src/bot/logger.ts - Supabase client → Supabase data: connects
- ERP login → Attendance ERP: authenticates
- ERP navigation → Attendance ERP: navigates
- Attendance marking → Attendance ERP: marks attendance
- Mobile navigation → Camera screen: routes to
Facialrecog/react-native-expo-facial-recognition-main/src/screens/App.tsx - Mobile navigation → Face registration: routes to
Facialrecog/react-native-expo-facial-recognition-main/src/screens/App.tsx - Mobile navigation → Face selection: routes to
Facialrecog/react-native-expo-facial-recognition-main/src/screens/App.tsx - Mobile navigation → Face verification: routes to
Facialrecog/react-native-expo-facial-recognition-main/src/screens/App.tsx - Mobile navigation → Face storage: uses type
Facialrecog/react-native-expo-facial-recognition-main/src/screens/App.tsx - Face registration → Face detection: uses
Facialrecog/react-native-expo-facial-recognition-main/src/screens/face-registration.tsx - Face verification → Face detection: uses
Facialrecog/react-native-expo-facial-recognition-main/src/screens/face-verification.tsx - Face registration → Face storage: uses
Facialrecog/react-native-expo-facial-recognition-main/src/screens/face-registration.tsx - Face verification → Face storage: uses
Facialrecog/react-native-expo-facial-recognition-main/src/screens/face-verification.tsx - Face storage → Device storage: reads and writes
Facialrecog/react-native-expo-facial-recognition-main/src/services/faceStorage.ts - Face detection → Face detection: processes images
Facialrecog/react-native-expo-facial-recognition-main/src/services/faceDetectionService.ts