Series · Day 100 of 100
NestJS
- 01Why I use NestJS for serious Node backends: a deep diveExpress gives you freedom. NestJS gives your team a shared structure.Oct 27, 2026
8 min - 02NestJS architecture in one picture: a step-by-step guideModules, controllers and providers — the three building blocks.Oct 27, 2026
7 min - 03Structure NestJS projects by feature: a practical guideFolders by feature beat folders by type once you pass 20 files.Oct 27, 2026
10 min - 04Dependency injection in NestJS: best practices explainedHow the container resolves your providers — and the scopes that bite.Oct 27, 2026
9 min - 05Custom providers: useValue, useClass, useFactory in NestJSThe escape hatches for anything that is not a simple class.Oct 27, 2026
8 min - 06The NestJS request lifecycle: what developers should knowKnow what runs, in which order, for every request.Oct 27, 2026
7 min - 07Validation with ValidationPipe: a practical NestJS guideTurn on global validation once and never trust raw input again.Oct 27, 2026
6 min - 08DTOs that protect your API: patterns, pitfalls and fixesYour DTO is a security boundary, not just a type.Oct 27, 2026
8 min - 09Zod as an alternative to class-validator for productionOne schema for validation and types, shared with your frontend.Oct 27, 2026
7 min - 10Typed, validated configuration: a practical NestJS guideCrash at startup, not at 3 AM when a variable is missing.Oct 27, 2026
10 min - 11Environment-specific configuration for NestJS developersSame code, different behavior — without if (env === 'prod') everywhere.Oct 27, 2026
10 min - 12Prisma with NestJS: the clean setup — a practical guideMy default data layer for NestJS projects.Oct 27, 2026
7 min - 13Prisma connection management: what developers should knowConnection pool exhaustion is the classic Prisma production bug.Oct 27, 2026
6 min - 14Prisma schema design tips: a NestJS guide for developersSchema decisions you will live with for years.Oct 27, 2026
6 min - 15Transactions in Prisma: a practical guide for developersAll or nothing — the two ways Prisma does it.Oct 27, 2026
6 min - 16Prisma vs TypeORM vs Drizzle: what developers should knowChoosing an ORM for NestJS in 2026.Oct 27, 2026
10 min - 17N+1 queries with Prisma: NestJS best practices explainedinclude feels innocent until it runs in a loop.Oct 27, 2026
7 min - 18Cursor pagination with Prisma: a practical NestJS guideFast pagination for infinite scroll and large tables.Oct 27, 2026
6 min - 19Soft delete with Prisma Client extensions for productionHide deleted rows everywhere without repeating where clauses.Oct 27, 2026
6 min - 20Multi-tenancy in NestJS: real-world lessons and examplesHow I isolate tenant data in a multi-tenant CRM.Oct 27, 2026
7 min - 21Request context with nestjs-cls: lessons from productionAccess the current user and tenant anywhere — without request scope.Oct 27, 2026
7 min - 22JWT authentication with Passport: lessons from productionThe standard NestJS auth setup, done properly.Oct 27, 2026
8 min - 23Guards, explained: what every NestJS developer should knowGuards answer one question: can this request continue?Oct 27, 2026
8 min - 24Roles and permissions with decorators: a practical guideFine-grained authorization that reads like documentation.Oct 27, 2026
8 min - 25Custom parameter decorators: what developers should knowClean controllers with @CurrentUser() instead of req.user everywhere.Oct 27, 2026
8 min - 26Refresh tokens in NestJS: a hands-on guide for engineersLong sessions without long-lived access tokens.Oct 27, 2026
8 min - 27Google login in NestJS: a practical guide for developersSocial login with passport-google-oauth20.Oct 27, 2026
9 min - 28Exception filters for consistent errors, explained simplyEvery error in one predictable shape.Oct 27, 2026
10 min - 29Use Nest's built-in HTTP exceptions for NestJS developersThrow meaning, not status codes.Oct 27, 2026
9 min - 30Interceptors: logging, timing, transforms for productionCross-cutting concerns wrapped around every handler.Oct 27, 2026
7 min - 31Should you wrap every response in an envelope in NestJS{ data, success, message } on every response — a debate worth having.Oct 27, 2026
6 min - 32Caching with Redis in NestJS: what developers should knowCache the expensive stuff and invalidate on purpose.Oct 27, 2026
8 min - 33Rate limiting with @nestjs/throttler: a practical guideProtect login and public endpoints in minutes.Oct 27, 2026
8 min - 34Background jobs with BullMQ: what developers should knowMove slow work out of the request cycle.Oct 27, 2026
8 min - 35Retries and backoff done right: a practical NestJS guideA retry strategy is part of your API design.Oct 27, 2026
8 min - 36Scheduled tasks with @nestjs/schedule: a practical guideCron jobs inside your NestJS app.Oct 27, 2026
7 min - 37Cron jobs with multiple instances for NestJS developersThree pods means your daily report emails go out three times.Oct 27, 2026
8 min - 38In-process events with EventEmitter for NestJS developersDecouple modules without a message broker.Oct 27, 2026
7 min - 39Domain events vs integration events for NestJS developersNot every event should leave your service.Oct 27, 2026
8 min - 40WebSockets with NestJS gateways: lessons from productionReal-time features with Socket.IO and Nest DI.Oct 27, 2026
7 min - 41Scaling Socket.IO across instances for NestJS developersTwo servers, one conversation — use the Redis adapter.Oct 27, 2026
9 min - 42NestJS microservices: transports — a step-by-step guideSame programming model over TCP, Redis, NATS, Kafka and more.Oct 27, 2026
8 min - 43Kafka consumers in NestJS: practical tips and trade-offsEvent-driven services with @nestjs/microservices.Oct 27, 2026
7 min - 44Hybrid apps: HTTP plus microservices — a practical guideOne NestJS app serving REST and consuming events.Oct 27, 2026
8 min - 45Message patterns vs event patterns for NestJS developersRequest-response or fire-and-forget? Choose deliberately.Oct 27, 2026
6 min - 46CQRS with @nestjs/cqrs: a practical guide for developersCommands, queries and events with a built-in bus.Oct 27, 2026
7 min - 47Sagas in NestJS CQRS: a practical guide for developersCoordinate long-running processes with event streams.Oct 27, 2026
10 min - 48OpenAPI docs with @nestjs/swagger: a step-by-step guideAPI docs your frontend team will actually use.Oct 27, 2026
7 min - 49The Swagger CLI plugin: a practical guide for developersStop writing @ApiProperty on every field.Oct 27, 2026
6 min - 50Unit testing NestJS services: what developers should knowFast tests with the TestingModule.Oct 27, 2026
8 min
