How stevengiki201/school-app works
ShuleBomba is a teacher-facing school app for managing multiple classes and their students. The main workflow is to browse or select a class, manage its roster, record attendance, and review saved roll calls; the app also supports tests and attendance exports. A MobX-state-tree root store holds school data and persists snapshots locally, while separate services handle server synchronization and report generation. The README describes attendance locking and password-based correction within one day. Several screen implementations were not sampled, so their detailed calls are not asserted.
Main entry points: index.ts School Data Store · syncFromServer.ts Server Sync · index.tsx Class Dashboard · exportAttendance.ts Report Generator
Components 20
Class Management
- Class Dashboard
app/(tabs)/index.tsx - Class View
app/(classes)/classview.tsx - Create Class
app/(tabs)/addclass.tsx - Student Management
app/(classes)/add-student.tsx - Delete Class
app/(classes)/delete-class.tsx
School Records
- Attendance Entry
app/(classes)/attendance.tsx - Saved Roll Calls
app/(classes)/saved-rolcall.tsx - Attendance Export
app/(classes)/exports.tsx - Report Generator
services/exportAttendance.ts - Test Scores
app/(classes)/test-score.tsx - Create Test
app/(classes)/add-test.tsx
State and Sync
- School Data Store
components/models/index.ts - Server Sync
services/syncFromServer.ts - Teacher Upload API
services/teacherUploadsApi.ts
Account and Preferences
- Settings
app/(tabs)/settings.tsx - Teacher Account
app/account.tsx - App Preferences
app/app-preference.tsx - Class Management Settings
app/manage-madarasa.tsx - About App
app/about-app.tsx
Other components
- Teacher
Connections 7
- Teacher → Class Dashboard: opens
- Class Dashboard → Class View: opens class
app/(tabs)/index.tsx - Attendance Export → Report Generator: requests report
app/(classes)/exports.tsx - Report Generator → School Data Store: reads attendance
services/exportAttendance.ts - School Data Store → School Data Store: persists snapshot
components/models/index.ts - Server Sync → Teacher Upload API: fetches uploads
services/syncFromServer.ts - Server Sync → School Data Store: applies snapshot
services/syncFromServer.ts