How hamici-amir/private_school works
This is a frontend foundation for a private-school management system, not a functioning school-management product: the README says there is no backend, database, real authentication, or business-module logic. The user-facing path is app startup, routed shell, then a registered module placeholder. The foundation also provides bilingual RTL/LTR and theme preferences, shared UI, and a mock-first service layer prepared for a future API. Evidence is limited to the README, source index, and sampled excerpts; unsampled modules are represented only at their supported directory paths.
Main entry points: App.tsx App composition · routes.tsx Route tree · features Feature services · global-search.tsx Global search
Components 16
App runtime
- App entry
src/main.tsx - App composition
src/app/App.tsx - Route tree
src/app/router/routes.tsx - App shell
src/layouts/app-shell.tsx
Shared experience
- Navigation metadata
src/constants/navigation.ts - Global search
src/components/navigation/global-search.tsx - Translations and direction
src/lib/i18n - UI preferences
src/store
School modules
- Module placeholders
src/pages/module-placeholder-page.tsx - School modules
src/features
Data foundation
- Query client
src/app/config/query-client.ts - Feature services
src/features - Report aggregation
src/services/reportService.ts - HTTP client
src/api/http/client.ts
Other components
- School user
- Future backend
Connections 15
- School user → App entry: opens app
README.md - App entry → App composition: starts
src/main.tsx - App composition → Route tree: renders routes
src/app/App.tsx - Route tree → App shell: mounts shell
src/app/router/routes.tsx - App shell → Module placeholders: hosts module pages
README.md - Route tree → School modules: lazy-loads pages
src/app/router/routes.tsx - Route tree → Navigation metadata: looks up navigation
src/app/router/routes.tsx - Global search → Navigation metadata: lists destinations
src/components/navigation/global-search.tsx - Global search → UI preferences: reads command state
src/components/navigation/global-search.tsx - App composition → Query client: provides query state
README.md - App composition → Translations and direction: sets up localization
README.md - School modules → Feature services: uses service layer
- Report aggregation → Feature services: collects module data
src/services/reportService.ts - Feature services → HTTP client: can switch to API
README.md - HTTP client → Future backend: sends requests
README.md