How anandkumar-codes/kleos-international-school works
Kleos is a school digital platform spanning a public website, parent/student portals, an administration dashboard with CMS, and a companion Expo mobile app. The main web flow routes visitors to school information and admissions enquiries, while authenticated families and staff reach role-specific portal or admin features. Admin content edits share browser-persisted state with the public site. Mobile routes and experiences are documented in the README, but their implementation and links to website data were not sampled; those connections are therefore documented rather than inferred from imports.
Main entry points: App.jsx Web Router · store.jsx Shared App State · AdminRoutes.jsx Admin Routes · public Public Pages
Components 20
Public Website
- Web Router
src/App.jsx - Public Pages
src/pages/public - Admissions Enquiry
src/components/public/EnquiryForm.jsx
Family Portals
- Parent & Student Portals
src/pages/portal/PortalRoutes.jsx
School Administration
- Admin Routes
src/pages/admin/AdminRoutes.jsx - School Operations
src/pages/admin/Office.jsx - People Management
src/pages/admin/People.jsx - Comms & Reports
src/pages/admin/Comms.jsx - Website CMS
src/pages/admin/Content.jsx
Shared Web Platform
- Role Authentication
src/services/auth.jsx - Shared App State
src/services/store.jsx - Browser Storage
- School Content Data
src/data/content.js - School Records
src/data/records.js
Mobile App
- Mobile Experiences
mobile/src/app - Mobile Portal Screens
mobile/src/screens/portal.js
Other components
- Visitor
- Portal User
- School Staff
- Mobile User
Connections 22
- Visitor → Web Router: opens
src/App.jsx - Web Router → Public Pages: routes to
src/App.jsx - Public Pages → Admissions Enquiry: renders
src/pages/public/Home.jsx - Portal User → Web Router: opens portal
src/App.jsx - Web Router → Role Authentication: guards routes
src/App.jsx - Web Router → Parent & Student Portals: loads
src/App.jsx - School Staff → Web Router: opens admin
src/App.jsx - Web Router → Admin Routes: loads
src/App.jsx - Admin Routes → School Operations: routes to
src/pages/admin/AdminRoutes.jsx - Admin Routes → People Management: routes to
src/pages/admin/AdminRoutes.jsx - Admin Routes → Comms & Reports: routes to
src/pages/admin/AdminRoutes.jsx - Admin Routes → Website CMS: routes to
src/pages/admin/AdminRoutes.jsx - Website CMS → Shared App State: updates
src/pages/admin/Content.jsx - School Operations → Shared App State: updates
src/pages/admin/Office.jsx - Comms & Reports → Shared App State: reads and updates
src/pages/admin/Comms.jsx - Shared App State → Browser Storage: persists collections
src/services/store.jsx - Shared App State → School Content Data: loads defaults
src/services/store.jsx - Shared App State → School Records: generates records
src/services/store.jsx - Public Pages → Shared App State: reads CMS state
src/pages/public/Home.jsx - Mobile User → Mobile Experiences: uses
README.md - Mobile Experiences → Mobile Portal Screens: includes portal screens
README.md - Mobile Experiences → School Content Data: reuses website data
README.md