How 0978114331/psbu-sms works
This is a school-management web app: users sign in, then use a dashboard for student, attendance, score, and school operations; administrators also manage shared content. The frontend uses Supabase for authentication and data access, and can send attendance reports to Telegram. The sampled App excerpt shows dashboard routing and report dispatch, while several feature components were not sampled in full; those branches are represented at their source paths without inferring internal call sequences.
Main entry points: App.tsx Dashboard app · supabase.ts Supabase client · main.tsx React bootstrap · AuthContext.tsx Authentication
Components 21
App entry
- React bootstrap
src/main.tsx - Dashboard app
src/App.tsx - Navigation
src/components/Navbar.tsx
School operations
- Attendance records
src/components/data/AttendanceHistory.tsx - Student records
src/components/data/MasterStudentList.tsx - Score results
src/components/data/ScoreResults.tsx - Cleaning schedule
src/components/data/CleaningSchedule.tsx - Other school operations
src/App.tsx
Content tools
- Admin posts
src/components/AdminPostDashboard.tsx - E-library
src/components/LibraryPanel.tsx - Home feed
src/components/HomeFeed.tsx - Support tools
src/components/SupportPanel.tsx - Vault modal
src/components/VaultModal.tsx - Festival popup
src/components/FestivalPopup.tsx - About school
src/components/AboutUs.tsx
Services
- Authentication
src/context/AuthContext.tsx - Supabase client
src/lib/supabase.ts - Supabase backend
- Telegram reporter
src/lib/telegram.ts
Other components
- School user
- Telegram API
Connections 23
- School user → React bootstrap: opens app
src/main.tsx - React bootstrap → Authentication: provides auth
src/main.tsx - React bootstrap → Dashboard app: renders
src/main.tsx - Dashboard app → Authentication: uses auth
src/App.tsx - Dashboard app → Navigation: renders
src/App.tsx - Dashboard app → Attendance records: routes to
src/App.tsx - Dashboard app → Student records: routes to
src/App.tsx - Dashboard app → Score results: routes to
src/App.tsx - Dashboard app → Cleaning schedule: routes to
- Dashboard app → Other school operations: coordinates
src/App.tsx - Dashboard app → Festival popup: renders
src/App.tsx - Dashboard app → Telegram reporter: sends report via
src/App.tsx - Attendance records → Supabase client: reads and writes
src/components/data/AttendanceHistory.tsx - Student records → Supabase client: reads and writes
src/components/data/MasterStudentList.tsx - Score results → Supabase client: uses client
src/components/data/ScoreResults.tsx - Cleaning schedule → Supabase client: uses client
src/components/data/CleaningSchedule.tsx - Admin posts → Supabase client: uses client
src/components/AdminPostDashboard.tsx - E-library → Supabase client: reads data
src/components/LibraryPanel.tsx - Home feed → Supabase client: uses client
src/components/HomeFeed.tsx - Support tools → Supabase client: uses client
src/components/SupportPanel.tsx - Authentication → Supabase client: authenticates with
src/context/AuthContext.tsx - Supabase client → Supabase backend: connects to
src/lib/supabase.ts - Telegram reporter → Telegram API: posts report
src/lib/telegram.ts