How lakshmi180/teksacademy_erp works
This is a React administration frontend for an academy: staff authenticate, enter the protected admin shell, and use routed screens for students, fees and certificates, leads, users, settings, inventory, and reports. Student and user state is managed in context providers, with reducer-based state and API helpers; the sampled student provider shows paginated fetches and record creation. The README only describes Create React App, so product capabilities are inferred from the source tree and route excerpts. Some page implementations and integrations were not sampled, so those links are limited to documented routing and provider references.
Main entry points: App.js Application routes · ReqireAuth.jsx Protected route guard · PublicAuth.jsx Admin shell · Login.jsx Authentication screens
Components 22
Access and navigation
- Application routes
src/App.js - Authentication screens
src/components/Auth/Login.jsx - Protected route guard
src/components/Layout/ReqireAuth.jsx - Admin shell
src/components/Layout/PublicAuth.jsx - Sidebar navigation
src/components/common/sidemenu/Sidemenu.jsx - Top navigation
src/components/common/topbar/Topbar.jsx
Academy operations
- Dashboard
src/components/pages/dashboard/Dashboard.jsx - Student records
src/components/pages/Student/studentData/Studentdata.jsx - Student registration
src/components/pages/Student/studentRegistrationForm/RegistrationForm.jsx - Fees and certificates
src/components/pages/Student - Lead management
src/components/pages/Leads - Asset inventory
src/components/pages/Inventory - Reports
src/components/pages/Reports
Administration
- User management
src/components/pages/User - Academy settings
src/components/pages/Settings
Client state
- Student state provider
src/context/studentsContext/StudContextProvider.jsx - Student API helpers
src/context/studentsContext/utils/StudentsAPIs.js - Student reducer
src/context/studentsContext/StudentsReducer.js - User state provider
src/context/UsersContext/UsersContextProvider.jsx - User API helpers
src/context/UsersContext/Utils/UsersAPIs.js - User reducer
src/context/UsersContext/UsersReducer.js
Other components
- Staff user
Connections 21
- Staff user → Authentication screens: signs in
- Staff user → Sidebar navigation: navigates
- Application routes → Protected route guard: routes through
src/App.js - Application routes → Authentication screens: routes to
src/App.js - Protected route guard → Admin shell: renders
src/components/Layout/ReqireAuth.jsx - Protected route guard → Authentication screens: redirects to
src/components/Layout/ReqireAuth.jsx - Admin shell → Sidebar navigation: renders
src/components/Layout/PublicAuth.jsx - Admin shell → Top navigation: renders
src/components/Layout/PublicAuth.jsx - Application routes → Dashboard: routes to
src/App.js - Application routes → Student records: routes to
src/App.js - Application routes → Student registration: routes to
src/App.js - Application routes → Fees and certificates: routes to
src/App.js - Application routes → Lead management: routes to
src/App.js - Application routes → Asset inventory: routes to
src/App.js - Application routes → Reports: routes to
src/App.js - Application routes → User management: routes to
src/App.js - Application routes → Academy settings: routes to
src/App.js - Student state provider → Student API helpers: calls
src/context/studentsContext/StudContextProvider.jsx - Student state provider → Student reducer: dispatches to
src/context/studentsContext/StudContextProvider.jsx - User state provider → User API helpers: calls
src/context/UsersContext/UsersContextProvider.jsx - User state provider → User reducer: dispatches to
src/context/UsersContext/UsersContextProvider.jsx