NestJS Microservices Course: Kafka, PostgreSQL & Drizzle ORM

NestJS Microservices Course: Kafka, PostgreSQL & Drizzle ORM
4.5
Development/Web Development
English

Course Details

Learn how to build a production-style microservices backend with NestJS, Kafka and PostgreSQL. In this hands-on course you build EventFlow, an event and ticketing platform made of independent Auth, Events, Tickets and Notification services that talk to each other through Apache Kafka. You start with the architecture and a clean NestJS monorepo, then create a shared library to reuse DTOs, interfaces and utilities across every service. Next you configure Kafka with Redpanda and Docker Compose, and set up a type-safe PostgreSQL data layer with Drizzle ORM.

From there you build the authentication service, add DTO validation, and create an API Gateway with global exception filters and response interceptors. You then build the Events and Tickets services, connect them with event-driven messaging, and add a Notification service that reacts to Kafka events. Along the way you write safe return types and unit tests, so your microservices stay reliable as they grow. By the end you understand how to design, build and test event-driven microservices in TypeScript.

This course is ideal for developers who know basic TypeScript or NestJS and want to move beyond a single monolith to a distributed architecture, using the same patterns that modern backend teams rely on to scale services independently. Topics covered: NestJS microservices, Apache Kafka, Redpanda, PostgreSQL, Drizzle ORM, API Gateway, event-driven architecture, DTO validation, Docker Compose and unit testing.