End-to-End Type-Safe APIs with NestJS & oRPC

End-to-End Type-Safe APIs with NestJS & oRPC

Build type-safe APIs with NestJS and oRPC — define shared contracts with Zod, implement validated CRUD endpoints, and auto-generate OpenAPI docs in a Turborepo monorepo. Includes full-stack React frontend integration with TanStack Query for complete end-to-end type...
NestJS Hexagonal Architecture + CQRS | Full Project

NestJS Hexagonal Architecture + CQRS | Full Project

In this lecture, we’ll build a complete NestJS project using Hexagonal Architecture and CQRS from the ground up. You’ll learn how to structure your code around core domain logic, application services, and infrastructure adapters — creating a clean, maintainable, and...
Implementing Idempotency in NestJS with an Interceptor

Implementing Idempotency in NestJS with an Interceptor

When building APIs, especially for payments or operations that modify state, you want to avoid executing the same request multiple times if the client retries. Stripe popularized the concept of idempotency keys: clients attach a unique key to a request, and the server...
Add SSL to Drizzle + NestJS for AWS RDS (Postgres)

Add SSL to Drizzle + NestJS for AWS RDS (Postgres)

Encrypting database traffic isn’t optional—especially if you’re handling user data or building anything that might one day need audits or certifications. Fortunately, enabling SSL/TLS for Postgres on AWS RDS with Drizzle ORM (node-postgres) in a NestJS app is...