Loading video player...
Most Node.js tutorials stop at a simple To-Do app. In this course, weโre going strictly professional. We are building EventFlow a real-world event and ticketing platform using a complete microservices architecture. ๐ Source Code + Next.js Frontend https://www.withcodewise.com/courses/nestjs-microservices-with-kafka ๐ What We Build In this series, you will master the "hard parts" of modern backend development. We move beyond monoliths and build a distributed system where standalone services communicate asynchronously using Apache Kafka. Key Features You Will Build: - Microservices Architecture: Decouple logic into Auth, Events, Tickets, and Notification services. - Event-Driven Communication: Use Kafka topics to handle complex workflows asynchronously. - Production-Grade Data Layer: PostgreSQL with Drizzle ORM for type-safe database interactions. - Robust API Gateway: A central entry point with Global Exception Filters and Response Interceptors. - Shared Microservices Library: Create a custom internal NPM package to share DTOs, interfaces, and utilities across services. ๐ The Tech Stack - Framework: NestJS (TypeScript) - Message Broker: Apache Kafka (Redpanda for local dev) - Database: PostgreSQL + Drizzle ORM - KV Store: Redis (for Rate Limiting) - DevOps: Docker & Docker Compose - Frontend (Pro Only): Next.js 15, TanStack Query, Zustand, Shadcn/UI ๐ค CONNECT WITH ME: My portfolio : https://www.fiston.net Discord: https://discord.com/invite/cMNSUQvYRt ๐ผ Business: fiston.turner@outlook.com โญ๏ธ Timestamps 00:00 Intro 17:38 Project Setup 28:57 Shared Library Setup 43:37 Kafka Configuration 01:08:18 Database Setup 01:18:23 Auth Service 01:37:34 DTO Validation 01:46:26 API Gateway 02:03:11 Events Service 02:26:43 Event Service API Gateway 02:52:53 Tickets Service 03:24:59 Tickets Service Final & Tests 03:41:53 Notification Service 04:06:38 Safe Return Types 04:17:18 Unit Tests #microservices #nestjs #kafka #typescript #webdevelopment #softwareengineering #docker #systemdesign