How maysan-labs/school-mangment-system works
Edu Maysan ERP is a role-based school management platform for administrators, teachers, students, and parents. Users authenticate, enter role-oriented portals and dashboards, and access academic, attendance, finance, people, and school-service workflows. Next.js routes and client components provide the interface; server actions and service modules handle domain operations, with Supabase providing authentication and PostgreSQL persistence. The README documents the major capabilities; several are represented at subsystem level because their implementation was not sampled.
Main entry points: client.ts Browser client · server.ts SSR client · page.tsx Sign-in · auth-accounts.ts Account actions
Components 25
Access and portals
- Sign-in
src/app/login/page.tsx - Account actions
src/app/actions/auth-accounts.ts - Role portal
src/app/portal/page.tsx - User services
src/lib/services/user.ts - User registry
src/components/users/UsersDashboardClient.tsx - Access actions
src/app/(dashboard)/users/actions.ts
Academic operations
- Academic management
src/app/(dashboard)/academics - Gradebook
src/app/(dashboard)/academics/gradebook/GradebookClient.tsx - Certificates
src/components/academics/certificates/CertificatesDashboardClient.tsx - Certificate actions
src/app/actions/certificates.ts
School operations
- Attendance tracking
src/components/attendance/AttendanceDashboard.tsx - Student records
src/components/students/StudentList.tsx - Inventory
src/components/services/inventory/InventoryDashboardClient.tsx - Inventory actions
src/app/actions/inventory.ts
Finance and analytics
- Fees and payroll
src/app/(dashboard)/finance - Gateway actions
src/app/actions/gateways.ts - Institutional analytics
src/components/dashboard/AnalyticsDashboard.tsx
Data and platform
- School settings
src/components/settings/SettingsDashboardClient.tsx - Settings actions
src/app/actions/settings.ts - Supabase database
- Browser client
src/lib/supabase/client.ts - SSR client
src/lib/supabase/server.ts - Demo protection
src/lib/supabase/demo-protection.ts - Domain records
src/types/database.ts
Other components
- School users
Connections 24
- School users → Sign-in: sign in
README.md - Sign-in → Account actions: calls
src/app/login/page.tsx - Account actions → Supabase database: admin access
src/app/actions/auth-accounts.ts - School users → Role portal: enter portal
README.md - Role portal → User services: uses
src/app/portal/page.tsx - School users → User registry: manage accounts
README.md - User registry → Access actions: toggles status
src/components/users/UsersDashboardClient.tsx - Access actions → Supabase database: admin access
src/app/(dashboard)/users/actions.ts - School users → Academic management: manage academics
README.md - School users → Gradebook: review grades
README.md - School users → Certificates: issue certificates
README.md - Certificates → Certificate actions: issues or revokes
src/components/academics/certificates/CertificatesDashboardClient.tsx - School users → Attendance tracking: track attendance
README.md - School users → Student records: manage students
README.md - School users → Inventory: manage resources
README.md - Inventory → Inventory actions: creates or updates
src/components/services/inventory/InventoryDashboardClient.tsx - School users → Fees and payroll: manage finances
README.md - School users → Institutional analytics: review metrics
README.md - School settings → Settings actions: saves settings
src/components/settings/SettingsDashboardClient.tsx - Browser client → Demo protection: wraps client
src/lib/supabase/client.ts - SSR client → Demo protection: wraps client
src/lib/supabase/server.ts - Browser client → Supabase database: connects to
README.md - SSR client → Supabase database: connects to
README.md - Fees and payroll → Gateway actions: gateway operations