How yash1026-hash/qms-gp works
QMS is a role-based quality-management starter: users sign in, then work through document control, deviations and investigation reports, and change requests, with supervisor review and administrator oversight. The README documents the Web/API login boundary, shared cookie, role authorization, and SQLite or SQL Server persistence. The tree shows broader role-specific pages and API controllers, but most page-to-endpoint calls were not sampled; those connections are therefore omitted rather than inferred.
Main entry points: UserDbContext.cs QMS database · Program.cs API host · DocumentsController.cs Document endpoints · Operator Operator work
Components 19
Web experience
- Sign in
QMSSystem.Web/Pages/Account/login.cshtml.cs - Operator work
QMSSystem.Web/Pages/Operator - Document control
QMSSystem.Web/Pages/Documents - Supervisor review
QMSSystem.Web/Pages/Supervisor - Admin oversight
QMSSystem.Web/Pages/Admin - Web host
QMSSystem.Web/Program.cs
API workflows
- API host
QMSSystem.Api/Program.cs - Document endpoints
QMSSystem.Api/Controllers/DocumentsController.cs - Change approvals
QMSSystem.Api/Controllers/ChangeRequestApprovalController.cs - Deviation endpoints
QMSSystem.Api/Controllers/DeviationController.cs - Deviation review
QMSSystem.Api/Services/DeviationReviewService.cs - Investigation reports
QMSSystem.Api/Controllers/DeviationReportsController.cs - Admin operations
QMSSystem.Api/Controllers/AdminController.cs
Identity and access
- User lookup
QMSSystem.Api/Services/UserStore.cs - Accounts and roles
QMSSystem.Shared/Models/UserAccount.cs
Persistence
- Controlled documents
QMSSystem.Shared/Models/DocumentCreation.cs - Deviation records
QMSSystem.Shared/Models/DeviationRequest.cs - QMS database
QMSSystem.Api/Data/UserDbContext.cs
Other components
- QMS user
Connections 21
- QMS user → Sign in: signs in
- Sign in → API host: posts login
- Web host → API host: forwards cookie
QMSSystem.Web/Program.cs - API host → User lookup: registers service
QMSSystem.Api/Program.cs - API host → QMS database: configures context
QMSSystem.Api/Program.cs - API host → Document endpoints: maps controllers
QMSSystem.Api/Program.cs - API host → Deviation review: registers service
QMSSystem.Api/Program.cs - Document endpoints → QMS database: reads and writes
QMSSystem.Api/Controllers/DocumentsController.cs - Deviation review → QMS database: reads and updates
QMSSystem.Api/Services/DeviationReviewService.cs - Admin operations → QMS database: queries records
QMSSystem.Api/Controllers/AdminController.cs - User lookup → QMS database: loads accounts
QMSSystem.Api/Services/UserStore.cs - QMS database → Controlled documents: maps entity
QMSSystem.Api/Data/UserDbContext.cs - QMS database → Deviation records: maps entity
QMSSystem.Api/Data/UserDbContext.cs - Operator work → Document endpoints: uses endpoints
- Operator work → Deviation endpoints: uses endpoints
- Operator work → Investigation reports: submits reports
- Document control → Document endpoints: uses endpoints
- Supervisor review → Deviation review: reviews cases
- Supervisor review → Change approvals: reviews changes
- Supervisor review → Investigation reports: reviews reports
- Admin oversight → Admin operations: uses endpoints