How sailesh-heybyte/8am_schooladmin works
This is a school-administration frontend for managing transport operations and related school records. The principal workflow is an authenticated user opening a routed management screen, reviewing or changing records, and (where shown in sampled code) loading data through an API module. The graph groups the routed product areas, shared UI, and API boundary. Several screens and API modules are represented from the file tree and SOURCE INDEX; their internal behavior and connections were not sampled, so those links are omitted.
Main entry points: App.jsx Authenticated router · client.js API client · index.jsx Students · DataTable.jsx Data table
Components 24
Application access
- Authenticated router
src/App.jsx - Login
src/screens/Login/index.jsx - Admin shell
src/screens/SchoolAdmin/index.jsx
Transport operations
School records
- Roles
src/screens/Roles/index.jsx - Branch users
src/screens/BranchUsers/index.jsx - Students
src/screens/Students/index.jsx - Parents
src/screens/Parents/index.jsx - Announcements
src/screens/Announcements/index.jsx - Complaints
src/screens/Complaints/index.jsx - Student import
src/utils/importFile.js
Shared interface
- Data table
src/components/DataTable.jsx - Type-ahead
src/components/TypeAhead.jsx - Map picker
src/components/MapPicker.jsx - Branch context
src/context/BranchesContext.jsx
API boundary
- API client
src/api/client.js - Student API
src/api/students.js - Routes API
src/api/routes.js
Other components
- School administrator
- Backend API
Connections 36
- School administrator → Authenticated router: opens
src/App.jsx - Authenticated router → Login: routes to
src/App.jsx - Authenticated router → Admin shell: routes to
src/App.jsx - Authenticated router → Roles: routes to
src/App.jsx - Authenticated router → Branch users: routes to
src/App.jsx - Authenticated router → Buses: routes to
src/App.jsx - Authenticated router → Drivers: routes to
src/App.jsx - Authenticated router → Routes: routes to
src/App.jsx - Authenticated router → Stops: routes to
src/App.jsx - Authenticated router → Trips: routes to
src/App.jsx - Authenticated router → Students: routes to
src/App.jsx - Authenticated router → Parents: routes to
src/App.jsx - Authenticated router → Announcements: routes to
src/App.jsx - Authenticated router → Complaints: routes to
src/App.jsx - Buses → Data table: renders
src/screens/Buses/index.jsx - Buses → Type-ahead: renders
src/screens/Buses/index.jsx - Drivers → Data table: renders
src/screens/Drivers/index.jsx - Drivers → Type-ahead: renders
src/screens/Drivers/index.jsx - Parents → Data table: renders
src/screens/Parents/index.jsx - Parents → Type-ahead: renders
src/screens/Parents/index.jsx - Students → Data table: renders
src/screens/Students/index.jsx - Students → Type-ahead: renders
src/screens/Students/index.jsx - Trips → Data table: renders
src/screens/Trips/index.jsx - Trips → Type-ahead: renders
src/screens/Trips/index.jsx - Students → Student API: loads records
src/screens/Students/index.jsx - Students → Student API: unassigns stops
src/screens/Students/index.jsx - Student API → API client: calls
src/api/students.js - Buses → API client: loads buses
src/screens/Buses/index.jsx - Drivers → API client: loads drivers
src/screens/Drivers/index.jsx - Parents → API client: loads parents
src/screens/Parents/index.jsx - Trips → API client: loads trips
src/screens/Trips/index.jsx - Routes API → API client: calls
src/api/routes.js - API client → Backend API: sends requests
- Branch context → API client: loads branches
- Map picker → Backend API: geocodes locations
- Students → Student import: imports student file