Skip to content
~/mahadi hassan
← All posts

Tag

PostgreSQL

Designing a 14-Service NestJS Microservices Platform — cover
NestJSMicroservicesTypeScript

Designing a 14-Service NestJS Microservices Platform

What I learned decomposing a field-service product into 14 NestJS services — service boundaries, a shared Zod contract layer, an auth gateway, and async messaging — without drowning in distributed-systems complexity.

3 min read
Multi-Level RBAC Done Right: Module → Feature → Resource — cover
NestJSTypeScriptPostgreSQL

Multi-Level RBAC Done Right: Module → Feature → Resource

Role flags do not survive contact with a real enterprise app. Here is the three-tier access model — module, feature, resource — I built for a large manufacturing dashboard, and why each tier earns its place.

2 min read