Case A-005.02 · OWN PRODUCT

NyayHub — case management for the way Rajasthan High Court actually runs

Status · Beta · Q2 FY26
Client
Izafa Labs (own product)
Engagement
Architecture, build, operations
Stack
Next.js 16, Supabase (~70 tables), Edge Functions (30+), IndexedDB
Status
Beta · Q2 FY26

Most legal case management software is built by people who have never sat through a Rajasthan High Court hearing. So I built one that was.

Not client work — but I publish it here because the engineering decisions are the same ones I make for clients.

The premise.

NyayHub is built around the constraints that actually break legal software in India: unreliable Wi-Fi inside court buildings, multi-tenant data segregation across firms, and the fact that lawyers need their interface to load before the judge calls the matter.

The architecture.

Seventy Postgres tables on Supabase, thirty Edge Functions, and a strict multi-tenant isolation model I call Data Protection Plan 1. The frontend is built around Optimization Plan 1 — cache-first rendering, IndexedDB-first UI, non-blocking realtime, and aggressive query invalidation reduction. The default state assumption is offline; the network is treated as enhancement, not requirement.

What this proves about how I engineer.

Constraints first, features second. Multi-tenancy designed at the database layer, not bolted on. Realtime and offline reconciled at the architecture level, not patched at the component level. This is the engineering posture I bring to client work.