How pirnavadmin/sms works
This is a school-management system with a React/TypeScript client and an ASP.NET Core API. A user enters through the client, which selects role-specific views; those views use the API to manage school operations. The backend exposes distinct domains including admissions and identity, academics and timetabling, finance and payroll, transport, hostel, and staff. The sampled excerpts show direct controller-to-database and controller-to-service actions. The README is empty, and unsampled domain wiring is not inferred; dashed links mark unverified client/API interactions.
Main entry points: AppDbContext.cs School database context · ClassesController.cs Class and section management · App.tsx Role-based application · AuthService.cs Authentication service
Components 22
Web client
- Role-based application
Frontend/school-management-system/src/App.tsx - HTTP client
Frontend/school-management-system/src/api/client.ts
API runtime
- API startup
Backend/Program.cs - School database context
Backend/Data/AppDbContext.cs
Identity and admissions
- Authentication service
Backend/Services/Implementations/AuthService.cs - Authentication and admissions
Backend/Controllers/Auth - User and role records
Backend/Models/User.cs - Student records
Backend/Models/Student.cs
Academics
- Class and section management
Backend/Controllers/AcademicManagement/ClassesController.cs - Class grades and sections
Backend/Models/AcademicManagement/ClassGrade.cs - Section records
Backend/Models/AcademicManagement/ClassSection.cs - Class subject mappings
Backend/Models/AcademicManagement/ClassSubjectMapping.cs - Academic years
Backend/Models/AcademicYear.cs - Timetable generation
Backend/Services/Implementations/AcademicManagement/TimetableGenerationService.cs - Timetable persistence
Backend/Repositories/Implementations/TimetableRepository.cs
School operations
- Finance configuration
Backend/Controllers/FinanceManagement/FinanceMasterController.cs - Finance master persistence
Backend/Repositories/Implementations/FinanceManagement/FinanceMasterRepository.cs - Payroll processing
Backend/Controllers/PayrollProcessingController.cs - Hostel management
Backend/Controllers/Hostel/HostelController.cs - Transport management
Backend/Controllers/Transport - Staff records
Backend/Models/StaffManagement/Staff.cs
Other components
- School user
Connections 20
- School user → Role-based application: uses
Frontend/school-management-system/src/App.tsx - Role-based application → HTTP client: requests data
- HTTP client → API startup: calls API
- API startup → School database context: configures
Backend/Program.cs - API startup → Authentication service: registers
Backend/Program.cs - Authentication service → User and role records: authenticates
Backend/Services/Implementations/AuthService.cs - Authentication service → Student records: checks identity
Backend/Services/Implementations/AuthService.cs - Authentication and admissions → Authentication service: dispatches
- Class and section management → School database context: reads and writes
Backend/Controllers/AcademicManagement/ClassesController.cs - Class and section management → Class grades and sections: loads class data
Backend/Controllers/AcademicManagement/ClassesController.cs - Class and section management → Section records: loads sections
Backend/Controllers/AcademicManagement/ClassesController.cs - Class and section management → Class subject mappings: manages mappings
Backend/Controllers/AcademicManagement/ClassesController.cs - Timetable generation → Timetable persistence: uses repository
- Finance configuration → Finance master persistence: persists via
- Finance configuration → School database context: delegates to service
Backend/Controllers/FinanceManagement/FinanceMasterController.cs - Finance master persistence → School database context: reads and writes
Backend/Repositories/Implementations/FinanceManagement/FinanceMasterRepository.cs - Payroll processing → School database context: reads and writes
Backend/Controllers/PayrollProcessingController.cs - Hostel management → School database context: delegates to service
- Role-based application → Hostel management: routes views
Frontend/school-management-system/src/App.tsx - Role-based application → Transport management: routes views
Frontend/school-management-system/src/App.tsx