The project
Designed and implemented a suite of platform APIs providing modular services for auth, notifications, and events — enhancing reuse and time-to-delivery across multiple projects.
- Node.js
- NestJS
- PostgreSQL
- Docker
- AWS
- JWT
- Webhooks
What I did
- Designed modular auth, notifications, and events API services
- Implemented JWT-based authentication and role management
- Built webhook delivery system with retry logic
- Containerized services with Docker for cross-project reuse
The challenge
Multiple product teams were rebuilding the same auth, notification, and event primitives independently, leading to duplicated code, inconsistent implementations, and slower delivery.
The solution
Designed a modular NestJS monorepo exposing six shared services: auth (JWT + refresh tokens), email notifications, in-app events, webhooks, file uploads, and audit logging. Each service is Dockerized for independent deployment.
How it fits together
- NestJS modular monorepo
- Docker containers
- PostgreSQL per service
- AWS deployment
- Webhook delivery with exponential backoff retry
What changed
Reduced new project bootstrap time by ~60%
Single auth surface eliminating 4 divergent implementations
Webhook delivery system handling 10k+ events/day with 99.9% success rate