
GradeHub - Enterprise SaaS Platform
A production-grade, multi-tenant School Management System featuring event-driven architecture and an immutable financial ledger.
NestJSPostgreSQLEvent-DrivenDockerPBAC
Architectural Overview
GradeHub is an enterprise-level SaaS platform designed to manage complex educational operations. Unlike standard CRUD applications, GradeHub solves critical data integrity problems using advanced patterns.
I architected a double-entry ledger system to track student fees with ACID compliance, ensuring zero calculation drift. I also decoupled the business logic using an Event-Driven Architecture (Pub/Sub), allowing heavy operations like PDF generation and Activity Logging to happen asynchronously without blocking the user interface.
Key Implementations
Immutable Double-Entry Ledger System for financial accuracy
Event-Driven Architecture (NestJS Event Emitter) for async processing
Permission-Based Access Control (PBAC) using Custom Guards
Client-side PDF Generation for Report Cards and Receipts
Row-Level Security ensuring strict data isolation per tenant
Real-time Dashboard Analytics with Recharts
System Architecture Gallery
Tech Stack
Backend
NestJSTypeScriptPrismaPostgreSQL
Frontend
Next.jsReact QueryShadcn UITailwind
Architecture
Event EmitterRepository PatternPBAC
DevOps
AWS - EC2DockerGitHub ActionsVercel