Sheet A-S04 · Legal SaaS

Court Wi-Fi cuts out.
Software should not.

ArchitectureMulti-tenant · offline-first

Most legal case management software is built by people who have never sat through a Rajasthan High Court hearing. We build with the operating constraints in view: 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.

Data Protection Plan 1 — multi-tenant, by default.

Every multi-tenant build we ship is enforced at the database layer, not the app layer. Row-level security policies on every table that holds tenant data. Separate authentication scopes per tenant. A documented audit trail. The architecture document delivered at hand-over describes exactly how Plan 1 is implemented for your system.

Optimization Plan 1 — offline is the default.

Cache-first rendering. IndexedDB-first UI state. Non-blocking realtime updates. Aggressive query invalidation reduction. The default state assumption is offline; the network is treated as enhancement, not requirement. NyayHub — built for court environments where Wi-Fi cuts out mid-hearing — is the reference implementation.

Reference build — NyayHub.

NyayHub is multi-tenant case management software for Rajasthan High Court advocates. Seventy Postgres tables on Supabase, thirty Edge Functions, IndexedDB-first frontend. It is in beta. It is the proof of the engineering posture we bring to legal-tech engagements. See the case file →

Compliance — contracts before code.

Engagements ship with contracts under the Indian Contract Act and the Digital Personal Data Protection Act 2023. The founder is a law post-graduate; the contracts are written in-house, not pulled off a template.