How aashif1726/student-management works
This repository contains two near-identical React student-management clients: one at the repository root and a copy under student/. The user workflow is to enter through the routed app, sign in, and use the dashboard and academic pages to manage students, staff, attendance, and course statistics. The sampled pages show student and staff data being fetched from an external API, attendance submission, and browser-local authentication state. The README provides no product-specific capability details; several page implementations were not sampled, so their internal behavior is not inferred.
Main entry points: src/App.js Route application · src/App.js Route application · utils/Auth.js Auth context · utils/Auth.js Auth context
Components 21
Root client
- Route application
src/App.js - App layout
src/components/AppLayout.js - Dashboard
src/components/Dashboard.js - Course statistics
src/components/Courses.js - Login
src/components/Login.js
Student copy
- Route application
student/src/App.js - App layout
student/src/components/AppLayout.js - Dashboard
student/src/components/Dashboard.js - Course statistics
student/src/components/Courses.js - Login
student/src/components/Login.js
Identity and session
- Auth context
src/components/utils/Auth.js - Auth context
student/src/components/utils/Auth.js
Academic operations
- Students
src/components/Students.js - Staff
src/components/Staffs.js - Attendance
src/components/Attendance.js - Students
student/src/components/Students.js - Staff
student/src/components/Staffs.js - Attendance
student/src/components/Attendance.js
External services
- Browser local storage
- Backend API
Other components
- User
Connections 32
- User → Route application: uses
- Route application → App layout: routes to
src/App.js - Route application → Dashboard: routes to
src/App.js - Route application → Students: routes to
src/App.js - Route application → Staff: routes to
src/App.js - Route application → Attendance: routes to
src/App.js - Route application → Course statistics: routes to
src/App.js - Route application → Login: routes to
src/App.js - Route application → Auth context: provides auth
src/App.js - Login → Auth context: uses auth
src/components/Login.js - Auth context → Browser local storage: reads/writes
src/components/utils/Auth.js - App layout → Auth context: uses auth
src/components/AppLayout.js - Dashboard → Auth context: uses auth
src/components/Dashboard.js - Students → Backend API: fetches/creates
src/components/Students.js - Staff → Backend API: fetches/creates
src/components/Staffs.js - Attendance → Backend API: fetches/submits
src/components/Attendance.js - User → Route application: uses
- Route application → App layout: routes to
student/src/App.js - Route application → Dashboard: routes to
student/src/App.js - Route application → Students: routes to
student/src/App.js - Route application → Staff: routes to
student/src/App.js - Route application → Attendance: routes to
student/src/App.js - Route application → Course statistics: routes to
student/src/App.js - Route application → Login: routes to
student/src/App.js - Route application → Auth context: provides auth
student/src/App.js - Login → Auth context: uses auth
student/src/components/Login.js - Auth context → Browser local storage: reads/writes
student/src/components/utils/Auth.js - App layout → Auth context: uses auth
student/src/components/AppLayout.js - Dashboard → Auth context: uses auth
student/src/components/Dashboard.js - Students → Backend API: fetches/creates
student/src/components/Students.js - Staff → Backend API: fetches/creates
student/src/components/Staffs.js - Attendance → Backend API: fetches/submits
student/src/components/Attendance.js