How ascend-x/vidhaan works
VIDHAAN is a digital evidence and case-management platform for law-enforcement and judicial workflows. Officers use the React application to manage cases, upload and search evidence, collaborate across departments, and review audit and compliance information; a separate victim portal supports privacy-conscious access. Document processing connects storage, AI analysis, search, and ledger integrity services. The graph follows the README’s documented architecture and upload lifecycle; several service implementations were not sampled, so their internal behavior is not inferred.
Main entry points: App.jsx React application · documents.js Document management · main.py AI analysis · index.js Audit trail
Components 24
Client applications
- React application
web/src/App.jsx - Victim portal UI
web/src/pages/VictimPortal.jsx - API client
web/src/utils/api.js
Access and gateway
- Auth gateway
services/auth-gateway/src/index.js - Keycloak SSO
Casework services
- Case management
services/case-service/src/routes/cases.js - Document management
services/document-service/src/routes/documents.js - Department workflows
services/workflow-service/src/index.js - Notifications
services/notification-service/src/index.js - Victim portal service
services/victim-portal-service/src/index.js
Evidence processing
- AI analysis
services/ai-service/main.py - Hybrid search
services/search-service/src/index.js - Digital signing
services/signing-service/main.py - Integrity ledger
services/ledger-service/src/index.js - Audit trail
services/audit-service/src/index.js - Legacy migration
services/migration-service/src/index.js - Relationship graph
services/graph-service/src/index.js
Data and integrations
- PostgreSQL
- WORM object store
- Event bus
- OpenSearch
- Google Trillian
- Neo4j
Other components
- Officer
Connections 28
- Officer → React application: uses
README.md - React application → API client: calls API
web/src/App.jsx - API client → Auth gateway: routes via gateway
- Auth gateway → Keycloak SSO: authenticates with
README.md - React application → Case management: routes requests
README.md - React application → Document management: uploads evidence
README.md - React application → Hybrid search: searches evidence
README.md - React application → Department workflows: starts handoffs
README.md - React application → Audit trail: reviews activity
README.md - Victim portal UI → Victim portal service: uses
README.md - Document management → WORM object store: stores evidence
README.md - Document management → AI analysis: requests analysis
services/document-service/src/routes/documents.js - Document management → PostgreSQL: writes records
README.md - Document management → Event bus: publishes events
README.md - Event bus → AI analysis: delivers events
README.md - AI analysis → WORM object store: fetches files
README.md - AI analysis → OpenSearch: indexes vectors
README.md - Event bus → Integrity ledger: delivers events
README.md - Integrity ledger → Google Trillian: anchors hashes
README.md - Case management → PostgreSQL: reads and writes
README.md - Department workflows → PostgreSQL: stores workflow data
README.md - Case management → Audit trail: records activity
README.md - Document management → Audit trail: records activity
README.md - Department workflows → Audit trail: records activity
README.md - Hybrid search → OpenSearch: queries index
README.md - Relationship graph → Neo4j: uses graph store
README.md - Digital signing → PostgreSQL: stores signing data
README.md - Digital signing → WORM object store: uses object storage
README.md