Demonstrating citizen self-registration, verification workflows, analytics dashboard, policy simulation, and audit transparency.
Alternative: Watch on YouTube for faster loading
A citizen-centric, trust-governed census intelligence system designed to modernize caste and socio-economic data collection for governments. The platform minimizes cost, reduces corruption, improves inclusion, and delivers policy-ready insights while respecting constitutional and ethical boundaries.
- Citizen Self-Registration: Aadhaar & DigiLocker-based login with offline and voice-assisted support
- Layered Verification Workflow: Citizen โ Community Facilitator โ Government Officer
- Census Record Management: Secure creation, review, correction, and approval of census data
- Household Relationship Mapping: Visual family and household graphs for structural validation
- Economic Condition Verification: Consent-based triangulation using income, employment, and welfare indicators
- Dynamic Policy Simulation: Test eligibility rules and budget impact without exposing raw data
- Citizen Census Receipt: Verifiable proof of participation with immutable reference ID
- Audit & Transparency Logs: Complete traceability of data access and modifications
- Offline-First Architecture for low-connectivity regions
- Graph-Based Anomaly Detection for fraud without algorithmic exclusion
- Consent-Governed Data Views for citizens, auditors, and policymakers
- Privacy-Preserving Analytics with purpose-limited access
- Role-Based Access Control (RBAC) for all administrative actions
- Framework: FastAPI (Python)
- Server: Uvicorn (ASGI)
- Authentication: OAuth2 + JWT-based sessions
- Data Storage: PostgreSQL (configurable)
- Graph Engine: Neo4j (household & kinship modeling)
- Security: AES-256 encryption, audit logging
- Optional Integrity Layer: Blockchain anchoring (Hyperledger Fabric โ optional)
- Framework: React
- Styling: Tailwind CSS
- UI Components: shadcn/ui + Radix UI
- Charts & Maps: Recharts + interactive India map
- State Management: React Hooks
- Notifications: Toast-based alerts
- Node.js (v16+)
- npm
- Python (v3.8+)
- pip
- (Optional) PostgreSQL / Neo4j for production deployments
git clone YOUR_REPO_URL
cd appProject structure:
app/
โโโ backend/
โโโ frontend/
โโโ README.md
cd backend
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txtCreate a .env file:
DATABASE_URL=postgresql://user:password@localhost:5432/census
CORS_ORIGINS=*
SECRET_KEY=your_secret_keycd ../frontend
npm installCreate a .env file:
REACT_APP_BACKEND_URL=http://localhost:8000cd backend
uvicorn server:app --reload --host 0.0.0.0 --port 8000API Docs:
http://localhost:8000/docs
cd frontend
npm startApp runs at:
http://localhost:3000
- Aadhaar + DigiLocker login
- Voice-assisted self-registration
- View census receipt and access logs
- Secure OAuth login
- Role-based dashboards
| Role | Capabilities |
|---|---|
| Citizen | Self-register, view receipt, track verification |
| Community Facilitator | Assist corrections, trigger reviews |
| District Officer | Verify flagged records |
| State Analyst | Analytics & reports |
| Policy Maker | Run policy simulations |
- Self-registration
- Census receipt
- Access history
- Flagged cases
- Review workflows
- Approval actions
- Family relationship graph
- Structural consistency checks
- State & district summaries
- Socio-economic insights
- Income & caste-based eligibility testing
- Impact visualization
- Immutable action history
- Role-based visibility
POST /api/census/registerGET /api/census/record/{id}PUT /api/census/review/{id}
GET /api/analytics/summaryPOST /api/policy/simulate
GET /api/audit/logs
- No caste inference from surname or proxies
- No automatic exclusion by AI
- No centralized โgod-modeโ access
- All actions are auditable
For production:
- Enable HTTPS/TLS
- Use hardened database roles
- Apply rate limiting
- Implement backups & monitoring
- Full offline citizen app
- Multi-language voice input
- Advanced fraud analytics
- Mobile app release
- Government system integrations
- Public transparency dashboards
Developed as part of HACK4DELHI under the CivicTech track. Licensing subject to organizer guidelines.
- Fork the repo
- Create a feature branch
- Commit changes
- Submit a PR
- Open an issue on GitHub
- Contact the development team
Built with ๐ฎ๐ณ civic responsibility for inclusive governance