SB
LOAD SHIVAM
All work
Case Study · /02

CGPE Connect

Replaced spreadsheet-and-email operations with realtime, role-separated workflows — live dashboards, an S3 document vault and an audit trail behind every action.

Realtime
Dashboards
RBAC
Multi-role auth
S3
Document vault

The problem

Operations ran on spreadsheets and email — no realtime view, no audit trail, no separation between agent and admin.

Approach

  • 01Modelled policies, claims and agents as indexed Mongo schemas with aggregation pipelines.
  • 02Pushed live updates over Socket.io so dashboards never go stale.
  • 03Locked every route behind JWT + role-based access, rate-limiting and input sanitisation.
  • 04Offloaded documents to S3 with signed URLs; wired Twilio + email notifications.

Architecture

4 architecture decisions documented. Switch to Engineer view to inspect the system underneath.

Outcomes

  • Realtime operational visibility, replacing spreadsheets
  • Role-separated, auditable workflows end-to-end
  • Document handling moved off-server to S3
Next case
The Observable Machine