How erlnievera/erllorencenievera_websystemfinalproject works
This is a faculty-and-student grade management system: users sign in through the MVC portal, which obtains API tokens server-side; faculty manage grades and students view their own profile and records. The API provides role-protected authentication and grade endpoints, backed by SQL Server. The repository also contains an application service/repository abstraction for grades, although the sampled API grade controller accesses its database context directly. MVC grade-request details and views were not sampled, so those links rely on README documentation.
Main entry points: Controllers/AuthController.cs Login endpoint · GradesController.cs Grade endpoints · AcademicDbContext.cs Academic context · Controllers/AuthController.cs MVC sign-in
Components 18
MVC Portals
- MVC sign-in
StudentGradeManagement.Mvc/Controllers/AuthController.cs - API auth client
StudentGradeManagement.Mvc/Services/ApiAuthService.cs - Faculty grade portal
StudentGradeManagement.Mvc/Controllers/GradesController.cs - Student dashboard
StudentGradeManagement.Mvc/Controllers/DashboardController.cs - Grade fetch UI
StudentGradeManagement.Mvc/wwwroot/js/site.js
API and Identity
- Login endpoint
StudentGradeManagement.Api/Controllers/AuthController.cs - Grade endpoints
StudentGradeManagement.Api/Controllers/GradesController.cs - JWT issuer
StudentGradeManagement.Infrastructure/Identity/JwtTokenService.cs - Identity context
StudentGradeManagement.Infrastructure/Identity/ApplicationDbContext.cs
Grade Application
- Grade service
StudentGradeManagement.Application/Services/GradeService.cs - Grade repository
StudentGradeManagement.Infrastructure/Repositories/GradeRepository.cs - Remarks calculator
StudentGradeManagement.Application/Services/GradeRemarksCalculator.cs
Domain and Persistence
- Academic records
StudentGradeManagement.Domain/Entities/StudentGrade.cs - Student and faculty
StudentGradeManagement.Domain/Entities/Student.cs - Academic context
StudentGradeManagement.Infrastructure/Persistence/AcademicDbContext.cs
Other components
- Faculty user
- Student user
- SQL Server
Connections 19
- Faculty user → MVC sign-in: signs in
README.md - Student user → MVC sign-in: signs in
README.md - MVC sign-in → API auth client: requests login
StudentGradeManagement.Mvc/Controllers/AuthController.cs - API auth client → Login endpoint: posts credentials
StudentGradeManagement.Mvc/Services/ApiAuthService.cs - Login endpoint → JWT issuer: issues token
StudentGradeManagement.Api/Controllers/AuthController.cs - Login endpoint → Identity context: checks account
StudentGradeManagement.Api/Controllers/AuthController.cs - Login endpoint → Academic context: checks role mapping
StudentGradeManagement.Api/Controllers/AuthController.cs - Faculty user → Faculty grade portal: manages grades
README.md - Student user → Student dashboard: views records
README.md - Student dashboard → Grade fetch UI: loads grades
README.md - Faculty grade portal → Grade endpoints: calls API
README.md - Grade fetch UI → Grade endpoints: fetches grades
README.md - Grade endpoints → Academic context: reads and writes
StudentGradeManagement.Api/Controllers/GradesController.cs - Grade endpoints → Remarks calculator: calculates remarks
StudentGradeManagement.Api/Controllers/GradesController.cs - Grade service → Grade repository: uses repository
StudentGradeManagement.Application/Services/GradeService.cs - Grade service → Remarks calculator: calculates remarks
StudentGradeManagement.Application/Services/GradeService.cs - Grade repository → Academic context: queries and saves
StudentGradeManagement.Infrastructure/Repositories/GradeRepository.cs - Academic context → SQL Server: uses SQL Server
- Identity context → SQL Server: uses SQL Server