1. Client Applications Tier (React 19 · Vite · Progressive Web Apps)
Staff & Admin Console
Desktop-optimized web app for high-volume admissions, payroll, fee collections, timetabling and EMIS state reporting.
Teacher PWA
Mobile-first PWA with an offline register outbox for daily attendance, marks entry, leave and homework without active Wi-Fi.
Parent & Student PWA
Multi-child single login for live attendance feeds, fee receipts, digital report cards, and homework reminders.
CBT Exam Client
Full-screen proctored environment supporting Safe Exam Browser (SEB), Face ID periodic capture, and offline answer buffering.
↓ ↑ HTTPS / WSS · Granular Permission Guards
2. API Gateway & Application Services Tier (Node 20 LTS · Express 5 · Zod)
Edge Security & Rate Limiting
Strict CORS, Content Security Policy (CSP), DDoS protection, and IP-whitelisting for institutional testing labs.
Authentication & RBAC Guard
JWT access + rotating refresh tokens; scrypt password hashing; TOTP MFA for administrative roles; OTP over SMS for parents.
Tenant Lifecycle Controller
Enforces tenant states (active / read-only / suspended) at runtime. Automatically routes requests to tenant context.
35 Routers · 260 Endpoints
Full lifecycle: SIS, admissions desk, fee ledger, question bank generator, real-time control board, and EMIS synchronizer.
↓ ↑ Connection Pooling · RLS Enforced Session Context
3. Data & Audit Tier (PostgreSQL 17 · Row-Level Security)
PostgreSQL 17 with RLS
Every single table has a mandatory tenant_id. DB engine isolates tenant rows, preventing cross-tenant leakage.
Immutable Audit Log
Append-only, hash-chained audit_events ledger. Every grade modification, fee transaction, and login is cryptographically verifiable.
DPDP Compliance Ledgers
Consent ledgers, data-rights registers, and export logs ensuring full Indian DPDP Act 2023 statutory adherence.
Encrypted Backups
Nightly automated encrypted snapshots, point-in-time recovery, and zero-downtime rolling database migrations.