How haza-aios/haza-sms works
HAZA-SMS is a multi-tenant school management system. The documented journey runs from school registration and campus/academic setup through admissions, daily operations, fees and examinations to leadership reports. The graph preserves those stages and major public, workforce, finance and governance capabilities. Source excerpts show the application entry point and shared authorization/security behavior; most feature panels and API implementations were not sampled, so their UI-to-API connections are omitted rather than inferred.
Main entry points: DashboardShell.tsx School workspace · TailwindPrimitives.tsx Shared interface primitives · authorization.ts Tenant authorization · RegistrationForm.tsx School registration
Components 27
Identity and tenancy
- School registration
app/RegistrationForm.tsx - Sign-in identity
app/chatgpt-auth.ts
School operations
- School workspace
app/DashboardShell.tsx - School configuration
app/ConfigurationPanel.tsx - Academic structure
app/AcademicsPanel.tsx - Staff directory
app/StaffDirectoryPanel.tsx - Teacher assignments
app/TeachersPanel.tsx - Admissions and enrollment
app/AdmissionsPanel.tsx - Student records
app/StudentDirectoryPanel.tsx - Attendance
app/StaffAttendancePanel.tsx - Timetables
app/TimetablePanel.tsx - Fees and receipts
app/FeesPanel.tsx - Payroll
app/PayrollPanel.tsx - Examinations
app/ExaminationSchedulePanel.tsx - Student promotion
app/PromotionPanel.tsx - Shared interface primitives
app/ui/TailwindPrimitives.tsx
Public and insight
- Reports and analytics
app/AnalyticsPanel.tsx - Public school experience
app/PublicLandingPage.tsx - Public content management
app/PublicContentPanel.tsx - Communications
app/CommunicationsPanel.tsx
Governance and platform
- Tenant authorization
lib/authorization.ts - School subscriptions
lib/subscriptions.ts - Security and audit
app/SecurityPanel.tsx - Roles and access
app/AccessControlPanel.tsx - Request security
lib/security.ts - School data
db/schema.ts
Other components
- School administrator
Connections 34
- School administrator → School registration: registers
- School registration → School administrator: creates workspace
- School administrator → School workspace: uses workspace
README.md - School workspace → Sign-in identity: checks identity
app/page.tsx - School workspace → Tenant authorization: loads access
app/page.tsx - School registration → School subscriptions: selects plan
app/register/page.tsx - School workspace → School configuration: opens
app/DashboardShell.tsx - School configuration → Academic structure: sets structure
- Academic structure → Staff directory: prepares teaching
- Staff directory → Teacher assignments: assigns teachers
- School workspace → Admissions and enrollment: opens
app/DashboardShell.tsx - Admissions and enrollment → Student records: converts approved applications
- School workspace → Attendance: opens
app/DashboardShell.tsx - School workspace → Timetables: opens
app/DashboardShell.tsx - School workspace → Fees and receipts: opens
app/DashboardShell.tsx - School workspace → Payroll: opens
app/DashboardShell.tsx - School workspace → Examinations: opens
app/DashboardShell.tsx - Examinations → Student promotion: supports progression
- School workspace → Reports and analytics: reviews
app/DashboardShell.tsx - School administrator → Public school experience: visits
- School workspace → Public content management: manages
app/DashboardShell.tsx - School workspace → Communications: manages
app/DashboardShell.tsx - School workspace → Security and audit: opens
app/DashboardShell.tsx - School workspace → Roles and access: opens
app/DashboardShell.tsx - Roles and access → Tenant authorization: enforces permissions
- Tenant authorization → Sign-in identity: resolves user
lib/authorization.ts - Tenant authorization → School data: reads memberships
lib/authorization.ts - Request security → Tenant authorization: uses authorization context
lib/security.ts - Fees and receipts → Shared interface primitives: uses controls
- Academic structure → Shared interface primitives: uses controls
app/AcademicsPanel.tsx - Admissions and enrollment → Shared interface primitives: uses controls
app/AdmissionsPanel.tsx - School configuration → Shared interface primitives: uses controls
app/ConfigurationPanel.tsx - Payroll → Shared interface primitives: uses controls
app/PayrollPanel.tsx - Public content management → Shared interface primitives: uses controls
app/PublicContentPanel.tsx