Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
NestJS Microservices: Build & Deploy a Scaleable Backend
Rating: 4.5 out of 5(1,441 ratings)
9,413 students

NestJS Microservices: Build & Deploy a Scaleable Backend

Go beyond the documentation to build a scaleable, production grade backend that will teach you NestJS microservices
Created byMichael Guay
Last updated 2/2026
English

What you'll learn

  • Build & deploy real NestJS microservices following best practices
  • Learn how to build a common library where common code can be shared amongst many applications
  • Connect NestJS microservices together in a Kubernetes cluster on AWS & Google Cloud
  • Test NestJS microservices using an E2E framework
  • Implement JWT authentication & user roles
  • Integrate payment functionality with Stripe
  • Send emails with nodemailer & Gmail
  • Create CRUD APIs & save data with MongoDB, Prisma & TypeORM
  • Use RabbitMQ to process & retry messages asynchronously
  • Learn how to connect microservices together using gRPC
  • Use GraphQL & Apollo Federation to build an API Gateway and expose our microservices
  • Implement an automated CI/CD pipeline with CloudBuild
  • Provision a load balancer to expose our application externally
  • Develop a production Dockerfile & package json for each microservice

Course content

16 sections71 lectures10h 25m total length
  • Introduction1:19

    Explore how to build and deploy a scalable NestJS microservices backend by composing four independent services into a production-grade architecture built with best practices.

  • Course Outline2:58

    Develop a scalable NestJS microservices backend with a common library and abstract MongoDB repository, implement jwt authentication, Stripe payments, Gmail email notifications, and deploy to Google Cloud Engine using Kubernetes.

  • Course Prerequisites0:35

    Master intermediate to advanced NestJS concepts by building production-grade microservices that go beyond documentation, with prerequisites in controllers, guards, interceptors, and pipes, plus Docker and Kubernetes for deployment.

  • System Architecture3:31

    Explore the system architecture diagram for a NestJS microservices backend, detailing the gateway, reservations, auth, payments, and notification services, with JWT authentication, MongoDB storage, Stripe billing, and Gmail notifications.

  • Project Dependencies0:13
  • GitHub Repository0:08
  • Project Setup5:14

    Scaffold a NestJS microservices backend using the Nest CLI. Create a mono repo with a shared common library for database access, authentication, and logging.

  • Course Updates0:20

Requirements

  • Experience with NestJS fundamentals including Controllers, Interceptors, Pipes & Guards
  • Experience with Nodejs & TypeScript
  • For deployment, experience with Docker, Kubernetes & kubectl

Description

NestJS is an incredible backend framework that allows us to build scaleable Node.js backends with very little complexity. A microservice architecture is a popular architecture that allows us to build & deploy several independent applications that communicate with each other via a chosen transport layer.

This course is designed to bridge the gap between NestJS & this microservice architecture. It goes beyond the NestJS documentation to show you how to build a real reservation booking system that accepts payments, sends email notifications, and persists data to a MongoDB, Postgres & MySQL database.

Here are just some of the few additional things you can expect to learn in this course:

  • Develop a productionized Dockerfile for NestJS microservices

  • Create a monorepo & shared library for common code

  • Learn how to create a custom package.json & Dockerfile for each microservice

  • Automate the build & deployment of Dockerfiles with a custom CI/CD process

  • Connect microservices together using a TCP transport layer

This course also includes full access to the GitHub repository so you have access to the completed project at all times & can reference this completed code. Additionally, you can post any issues or questions to the QA section & I will be happy to assist you.

By the end of this course, you will know how to build, deploy & test Nestjs Microservices so you can create any scaleable application that you can think of.

Who this course is for:

  • Experienced backend developers that want to learn NestJS Microservices by going beyond the documentation to build a scaleable, production grade backend