CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
🌙☀️
Log inStart free
Home/Templates/Government & Public Sector

🏛️ Government & Public Sector · C4 Architecture · Pro

Citizen Services Portal Architecture

A single online portal where citizens apply for government services: identity login, a service catalogue, document storage and payments to the treasury.

More Government & Public Sector templates

C4 Architecture diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.

Drawing diagram…

What this diagram shows

  • One login for all services through a national identity provider
  • Each department's back office gets applications through a workflow engine
  • Fees are paid through the government payment gateway

Prompt used

A citizen services portal: citizens log in with national digital identity (Aadhaar-based e-KYC) via an identity provider, browse a service catalogue and apply for certificates and licences. A workflow engine routes applications to department back-office systems. Supporting documents are pulled from DigiLocker, and fees are paid through the government payment gateway. Status updates go out by SMS.

Mermaid code
C4Container
title Citizen Services Portal
Person(citizen, "Citizen", "Applies for services")
Person(officer, "Department Officer", "Reviews applications")
System_Boundary(portal, "Citizen Services Portal") {
  Container(web, "Portal Web App", "Angular", "Service catalogue, applications")
  Container(api, "API Gateway", "Nginx", "Routing and throttling")
  Container(apps, "Application Service", "Java", "Forms and status")
  Container(wf, "Workflow Engine", "Camunda", "Approval routing")
  Container(backoffice, "Back Office", "React", "Officer workbench")
  ContainerDb(db, "Applications DB", "PostgreSQL", "Applications and decisions")
}
System_Ext(idp, "National Identity", "e-KYC login")
System_Ext(docs, "DigiLocker", "Verified documents")
System_Ext(pay, "Gov Payment Gateway", "Fees and treasury")
Rel(citizen, web, "Uses")
Rel(web, idp, "Logs in via")
Rel(web, api, "Calls", "HTTPS")
Rel(api, apps, "Routes")
Rel(apps, db, "Stores")
Rel(apps, wf, "Starts approval")
Rel(officer, backoffice, "Uses")
Rel(backoffice, wf, "Completes tasks")
Rel(apps, docs, "Fetches documents")
Rel(apps, pay, "Collects fees")

Related templates

FlowchartGovernment & Public Sector

Permit and Licence Approval Workflow

How a building permit or trade licence application moves through a government office: scrutiny, site inspection, fees and the final certificate.

SequenceGovernment & Public Sector

Aadhaar-Style Identity Verification

How a service verifies a person's identity with a national ID and OTP (e-KYC), with consent and without storing the ID number.

SequenceGovernment & Public Sector

Online Tax Return Filing

How a taxpayer files an income tax return online: pre-filled data, computation, payment of any balance tax and e-verification.

State MachineGovernment & Public Sector

Public Grievance Redressal Lifecycle

The states of a citizen complaint in a public grievance system: registration, assignment to a department, resolution, citizen feedback and escalation.

Database ERDGovernment & Public Sector

Land Records Database Schema

A schema for digitised land records: parcels with survey numbers, owners and shares, mutations, encumbrances and map references.

C4 ArchitectureProGovernment & Public Sector

Integrated Command and Control Centre

A city's integrated command and control centre (ICCC): one operations room that brings together traffic, surveillance, emergency response and utilities.