How abhishekvishwakarma2027/cscrs works
CSCRS is a civic-issue reporting and municipal resolution platform. Citizens submit image- and location-based reports through web or mobile; the backend verifies and routes issues, administrators dispatch workers, and workers submit resolution evidence for AI or manual review. The platform also provides public dashboards and updates, feedback, notifications, and super-admin governance. The graph combines documented capabilities with sampled route wiring; several service-level links are documented product flows, not inspected call sites.
Main entry points: routes.py API Router · report_service.py Report Processing · connection.py Relational Database · resolution.py Resolution API
Components 20
Citizen and Staff Clients
- Web Portal
frontend/src/app/router.tsx - Mobile App
mobile/src/app/App.tsx
Backend API
- FastAPI Application
backend/api/app.py - API Router
backend/api/routes.py - Report API
backend/api/report.py - Worker API
backend/api/worker.py - Assignment API
backend/api/assignment.py - Resolution API
backend/api/resolution.py - Governance APIs
backend/api/super_admin.py
Issue Operations
- Report Processing
backend/services/report_service.py - Image Verification
backend/inference/engine.py - Resolution Review
backend/inference/resolution_ai/engine.py - Worker Dispatch
backend/services/assignment.py
Platform Services
- Authentication
backend/services/auth_service.py - Public Transparency
backend/services/public_dashboard_service.py - Governance and Audit
backend/services/super_admin_service.py - Relational Database
backend/database/connection.py - Media Storage
backend/storage/base.py
Other components
- Citizen
- Municipal Staff
Connections 25
- Citizen → Mobile App: reports issues
- Citizen → Web Portal: uses portal
- Municipal Staff → Web Portal: manages operations
- Mobile App → FastAPI Application: uses platform API
- Web Portal → FastAPI Application: uses platform API
- FastAPI Application → API Router: mounts routes
backend/api/app.py - API Router → Report API: registers
backend/api/routes.py - API Router → Worker API: registers
backend/api/routes.py - API Router → Assignment API: registers
backend/api/routes.py - API Router → Resolution API: registers
backend/api/routes.py - API Router → Governance APIs: registers
backend/api/routes.py - Report API → Report Processing: handles reporting
- Report Processing → Image Verification: verifies images
- Report Processing → Relational Database: persists reports
- Report Processing → Media Storage: stores media
- Assignment API → Worker Dispatch: dispatches workers
backend/api/assignment.py - Worker API → Worker Dispatch: supports field work
- Resolution API → Resolution Review: validates resolution
- Resolution API → Relational Database: records outcomes
- API Router → Authentication: registers auth routes
backend/api/routes.py - Governance APIs → Governance and Audit: governs platform
- Governance and Audit → Relational Database: records governance data
- API Router → Public Transparency: registers public routes
- Public Transparency → Relational Database: reads telemetry
- Image Verification → Report Processing: returns verification