How sachin-agrahari/school-management works
SchoolManagementERP is an ASP.NET Core MVC school-management application. The visible user flow begins at the login page, stores the submitted username and role in session, and redirects to the dashboard; users can then reach school-management modules. The tree identifies attendance, classes, exams, fees, reports, students, teachers, and transport capabilities, though their implementations were not sampled. The sampled data path covers student retrieval and database-backed menu retrieval. The README provides no further architecture detail, so unsampled module wiring is not inferred.
Main entry points: LoginController.cs Login and session · DashboardController.cs Dashboard · StudentsController.cs Student management · Program.cs MVC application
Components 29
Entry and navigation
- MVC application
Program.cs - Login and session
Controllers/LoginController.cs - Login page
Views/Login/Index.cshtml - Dashboard
Controllers/DashboardController.cs - Dashboard page
Views/Dashboard/Index.cshtml
School operations
- Student management
Controllers/StudentsController.cs - Student pages
Views/Students/Index.cshtml - Attendance
Controllers/AttendanceController.cs - Attendance page
Views/Attendance/Index.cshtml - Classes
Controllers/ClassesController.cs - Classes page
Views/Classes/Index.cshtml - Exams
Controllers/ExamsController.cs - Exams page
Views/Exams/Index.cshtml - Teachers
Controllers/TeachersController.cs - Teacher pages
Views/Teachers/Index.cshtml - Transport
Controllers/TransportController.cs - Transport pages
Views/Transport/Index.cshtml
Administration
- Fees
Controllers/FeesController.cs - Fees page
Views/Fees/Index.cshtml - Reports
Controllers/ReportsController.cs - Reports page
Views/Reports/Index.cshtml - Menu endpoint
Controllers/MasterController.cs
Data access
- Student contract
Interface/IStudent.cs - Student data access
DataAccess/Student.cs - Menu contract
Interface/IMaster.cs - Menu data access
DataAccess/MasterData.cs - SQL helper
SqlHelper/SqlHelper.cs
Other components
- School user
- SQL Server
Connections 11
- School user → MVC application: opens
- MVC application → Login and session: routes requests
- Login and session → Login page: renders
- Login and session → Dashboard: redirects after login
- Dashboard → Login and session: redirects without session
- Dashboard → Dashboard page: renders
- Student management → Student pages: renders
- Student management → Student contract: requests student data
- Menu endpoint → Menu contract: requests menu data
- Menu data access → SQL helper: executes query
- SQL helper → SQL Server: queries