Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
NestJS Microservices with RabbitMQ, API Gateway & Prisma
Rating: 3.9 out of 5(11 ratings)
106 students

NestJS Microservices with RabbitMQ, API Gateway & Prisma

A Step-by-Step Guide to build microservices in Nestjs using MongoDB, Postgres, Docker, API Gateway and RabbitMQ
Created byHaider Malik
Last updated 5/2025
English

What you'll learn

  • Build Scalable Microservices with NestJS – Learn how to architect and develop production-ready microservices using NestJS, TypeScript, and Docker.
  • Master Inter-Service Communication – Implement TCP-based communication, RabbitMQ message queues, and API Gateway to enable seamless data flow between microservi
  • Secure Microservices with Authentication & Authorization – Implement JWT-based authentication, NestJS Guards, and authorization strategies for protecting APIs.
  • Learn how to build API Gateway in NestJs

Course content

8 sections81 lectures5h 7m total length
  • Nestjs Microservice Source Code0:10
  • Sample Application1:50

    Explore building a two-microservice app for rider tracking: a logging service saving rider coordinates in mongodb via endpoints and a rider service for login and details, with tcp-based inter-service communication.

  • Setup Nestjs Microservices Project9:01

    Explore setting up a NestJS microservices project, compare standard mode and monorepo workspaces, and convert from standard to monorepo using the Nest CLI to share code across services.

Requirements

  • Basic Knowledge of JavaScript/TypeScript – Some experience with JavaScript or TypeScript will help you follow along easily.
  • Familiarity with Node.js – Understanding of Node.js fundamentals is recommended but not mandatory
  • Basic Understanding of Databases – Some experience with MongoDB or PostgreSQL will be helpful, but all concepts will be explained.
  • Willingness to Learn – No prior microservices experience is required! This course is designed to take you from beginner to advanced in NestJS microservices.

Description

NestJS is one of the best frameworks for modern backend development. It combines the best features of Angular, Express, and TypeScript, making it a go-to choice for building scalable, maintainable, and production-ready applications.

Are you struggling to build scalable, production-ready microservices with NestJS? Do you want to master RabbitMQ, MongoDB, Postgres Docker, Prisma, and API Gateways while learning real-world best practices? This course is for you!

In this comprehensive NestJS Microservices course, you’ll learn to build a fully functional microservices architecture from scratch. You’ll master inter-service communication, authentication, database integrations, and deployment – all with hands-on projects and practical coding exercises.


What You'll Learn:

Setup a Scalable NestJS Microservices Project from scratch


  • Implement TCP, RabbitMQ, and API Gateway-based communication

  • Secure microservices with JWT authentication and NestJS Guards

  • Work with MongoDB, PostgreSQL, Prisma, and TypeORM

  • Containerize microservices with Docker & Docker Compose

Why Take This Course?

  • Hands-on projects – Code alongside real-world applications

  • Step-by-step explanations – No prior microservices experience neede

  • Updated for 2024 – Covers the latest NestJS & microservices patterns

If you’re ready to master NestJS Microservices and become a job-ready backend developer, enroll now and start coding!


NestJS microservices offer several benefits, especially for building scalable and maintainable backend applications.

1. Scalability

  • Microservices allow independent scaling of different services based on demand.

  • NestJS supports distributed systems, enabling horizontal scaling.

2. Decoupled Architecture

  • Each microservice is independent, making it easier to modify, deploy, and maintain.

  • Services can be developed, tested, and deployed separately.

3. Built-in Transport Layer Support

  • Supports various transport layers like Redis, RabbitMQ, NATS, Kafka, MQTT, gRPC, and more.

  • Enables event-driven communication, improving performance and resilience.

4. High Performance

  • Efficient handling of requests through asynchronous communication.

  • Reduces load on individual services by distributing workloads.

5. Improved Fault Tolerance

  • If one microservice fails, others continue working, reducing the impact on the system.

  • Supports circuit breakers and retries to handle failures effectively.

6. Technology Agnostic

  • Each microservice can use different technologies or programming languages.

  • NestJS allows seamless integration with external APIs and services.

7. Better Team Productivity

  • Different teams can work on separate microservices without dependency bottlenecks.

  • Faster development cycles due to modular architecture.

8. Enhanced Maintainability

  • Clear separation of concerns makes debugging and updating code easier.

  • Smaller, well-defined services reduce technical debt.

9. Security and Isolation

  • Each service has its own security boundaries, reducing the impact of vulnerabilities.

  • Allows implementation of zero-trust security models at the service level.

10. Support for Domain-Driven Design (DDD)

  • Helps structure services based on business logic and domain requirements.

  • Encourages clean and maintainable architecture.

Who this course is for:

  • This course is designed for backend developers and Node.js engineers who want to build scalable, production-ready microservices using NestJS.
  • Node.js & JavaScript Developers – If you have experience with Node.js and want to transition into microservices architecture, this course will guide you step by step.
  • Backend EIf you're preparing for a job in backend development, this course will boost your skills and portfolio with real-world microservices projects.ngineers – Developers who want to master NestJS, RabbitMQ, API Gateway, and Prisma to build efficient distributed systems.
  • If you're preparing for a job in backend development, this course will boost your skills and portfolio with real-world microservices projects.
  • If you’ve heard about microservices architecture but never had a chance to implement it, this course will provide hands-on experience.