Implementing Multi-Tenancy in NestJS: Organizations, Brands, Teams, and White-Labels
How we built a 4-layer tenancy model for a SaaS product, the database design patterns that made it work, and why multi-tenancy is never a one-shot implementation.
Technical write-ups on the projects I've built, from architecture decisions to hard problems and lessons learned.
Filter by project
How we built a 4-layer tenancy model for a SaaS product, the database design patterns that made it work, and why multi-tenancy is never a one-shot implementation.
Why we moved away from Clerk, the parallel auth strategy that let us migrate without downtime, and what Better Auth offers for full-stack TypeScript apps.
We needed both instant in-process reactions and reliable async processing. Here's how we built a hybrid event system using Node.js EventEmitter and AWS SQS.
The architecture decisions, tech stack choices, and lessons from building Pengion Pilot, an AI-powered social media management platform with 1,200+ commits.
How we architected a 168K-line TypeScript codebase with 37 domain modules using DDD and CQRS, and why the upfront investment paid off over years of development.
No posts for this project yet.