How kmla-online/kmla-online-s- works
KMLA Online is a student community PWA combining social features with school-life tools. Students enter through the app gate and shared shell, then use routes for community, messaging, notifications, profiles, and utilities; administrators have separate management routes. The feature tree shows distinct UI, data, and model layers, while the README identifies Supabase as the backend. Source excerpts are limited, so links between feature data modules and backend services are not asserted where their calls were not shown.
Main entry points: layout.tsx App shell · gate.tsx App gate · meal/components School meals · timetable/components Timetable
Components 20
Community
- Posts and feed
app/features/posts/components - Groups
app/features/groups/components - Messaging
app/features/messaging/components - Stories
app/features/stories/components - Notifications
app/features/notifications/components
School tools
- School meals
app/features/meal/components - Timetable
app/features/timetable/components - School utilities
app/features/school-utilities/components - Support
app/features/support/components
Accounts and admin
- Profiles
app/features/profiles/components - Search
app/features/search/components - Authentication
app/features/auth/components - Administration
app/features/admin/components
Shared services
- Supabase
app/shared/supabase/client.ts - Query cache
app/shared/lib/query-client.ts - User-scoped storage
app/shared/lib/user-scoped-storage.ts
Other components
- Student
- NEIS service
Connections 18
- Student → App gate: opens app
- App gate → App shell: admits user
- App shell → Posts and feed: routes to
- App shell → Groups: routes to
- App shell → Messaging: routes to
- App shell → Stories: routes to
- App shell → Notifications: routes to
- App shell → Profiles: routes to
- App shell → Search: routes to
- App shell → School meals: routes to
- App shell → Timetable: routes to
- App shell → School utilities: routes to
- App shell → Support: routes to
- App shell → Administration: routes to
- Student → Authentication: signs in
- School meals → NEIS service: fetches menu
- Timetable → User-scoped storage: caches display
- App shell → Query cache: provides cache