
🌆 Urban & City Planning · C4 Architecture · Pro
A city's public grievance platform: complaints from app, web and phone routed to departments with SLAs and escalation.
C4 Architecture diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.
Drawing diagram…
City 311 grievance platform: citizens report issues (potholes, garbage, streetlights, water) via mobile app, website, WhatsApp and a call centre. A ticketing service geotags complaints and a routing service assigns them to the ward and department by category. Field staff update status with photos in a mobile app. An SLA service escalates overdue tickets. A public dashboard shows resolution statistics. Data in PostgreSQL with PostGIS.
C4Container
title City 311 Grievance Platform
Person(citizen, "Citizen", "Reports civic issues")
Person(staff, "Field Staff", "Fixes issues")
Person(officer, "Department Officer", "Oversees tickets")
System_Ext(wa, "WhatsApp and SMS", "Channels and updates")
System_Boundary(g311, "Grievance Platform") {
Container(app, "Citizen App and Web", "React Native / React", "Report and track")
Container(cc, "Call Centre Console", "React", "Phone complaints")
Container(ticket, "Ticketing Service", "Java", "Geotagged tickets")
Container(route, "Routing Service", "Java", "Ward and department")
Container(sla, "SLA and Escalation", "Java", "Timers and escalation")
Container(field, "Field Staff App", "Android", "Status and photos")
Container(dash, "Public Dashboard", "React", "Resolution stats")
ContainerDb(db, "Grievance DB", "PostgreSQL + PostGIS", "Tickets")
}
Rel(citizen, app, "Reports")
Rel(citizen, wa, "Reports and gets updates")
Rel(wa, ticket, "Messages")
Rel(app, ticket, "Creates ticket")
Rel(cc, ticket, "Creates ticket")
Rel(ticket, route, "Assign")
Rel(route, field, "Work order")
Rel(staff, field, "Updates")
Rel(sla, officer, "Escalates")
Rel(ticket, sla, "Timers")
Rel(ticket, db, "Stores")
Rel(db, dash, "Stats")An integrated smart city platform: sensors and city systems feeding a central data platform that runs the command centre and citizen services.
How an adaptive traffic system uses cameras and sensors to time signals, spot congestion and catch violations.
How a city approves building plans online with automated checks: submission, auto-scrutiny against bye-laws, department NOCs and sanction.
A map of the main areas city planners work on and the data and systems behind each one.
How a smart parking system guides a driver to a free space: sensors, a parking app, reservation, entry by number plate and automatic payment.
How a city optimises garbage collection: bin fill-level sensors, truck GPS, route planning and citizen complaints.