How kyrstnxx/vanguard-cms works
Vanguard CMS is an ASP.NET Core MVC complaint-management app. Residents register or sign in, submit categorized reports (optionally with a photo), and track report status; administrators review and filter reports, assign staff, update status with remarks, and inspect the resulting history. Account settings and resident administration support that workflow. The controllers, Identity calls, persistence context, and upload handling are evidenced in sampled source; broader view capabilities are represented from the tree and README.
Main entry points: AccountController.cs Account actions · ReportController.cs Report actions · AdminController.cs Admin actions · ApplicationDbContext.cs Persistence context
Components 18
Access and Accounts
- Account actions
complaint_MS/Controllers/AccountController.cs - Account pages
complaint_MS/Views/Account - ASP.NET Identity
- Landing and dashboard
complaint_MS/Controllers/HomeController.cs - Home pages
complaint_MS/Views/Home
Resident Reporting
- Report actions
complaint_MS/Controllers/ReportController.cs - Report pages
complaint_MS/Views/Report - Photo uploads
complaint_MS/wwwroot/uploads
Administration
- Admin actions
complaint_MS/Controllers/AdminController.cs - Admin pages
complaint_MS/Views/Admin
Application Core
- Users and reports
complaint_MS/Models/RegisterViewModel.cs - Account view models
complaint_MS/Models/SettingsViewModel.cs - Roles and claims
complaint_MS/Constants/AppRoles.cs - Persistence context
complaint_MS/Data/ApplicationDbContext.cs - SQL Server database
- Application startup
complaint_MS/Program.cs
Other components
- Resident
- Admin staff
Connections 24
- Resident → Account actions: registers or signs in
- Resident → Report actions: submits and tracks
- Resident → Account actions: manages account
- Admin staff → Admin actions: reviews and manages
- Account actions → ASP.NET Identity: calls
- Account actions → Persistence context: soft-deletes reports
- Account actions → Account pages: renders
- Landing and dashboard → Home pages: renders
- Landing and dashboard → Admin actions: redirects admins
- Account actions → Landing and dashboard: redirects after sign-in
- Report actions → ASP.NET Identity: gets current user
- Report actions → Photo uploads: writes photos
- Report actions → Persistence context: reads and writes reports
- Report actions → Report pages: renders
- Admin actions → ASP.NET Identity: gets users and roles
- Admin actions → Persistence context: queries and updates reports
- Admin actions → Admin pages: renders
- Persistence context → SQL Server database: persists entities
- ASP.NET Identity → SQL Server database: stores identity data
- Application startup → Persistence context: configures SQL context
- Application startup → ASP.NET Identity: configures Identity
- Report actions → Users and reports: uses report entities
- Admin actions → Users and reports: uses report entities
- Account actions → Account view models: binds account forms