NestJS Microservices: Build & Deploy a Scaleable Backend

Go beyond the documentation to build a scaleable, production grade backend that will teach you NestJS microservices

  • 0.0 (0 Reviews)
  • 0 Students
  • 77 Lessons
  • Michael Guay

Course Overview

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.

See more

FAQ

FAQ area empty

Course curriculum

17 chương 77 bài học 11 giờ 34 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Common Library
Chương 3 Authentication
  • Users 12:31
  • Passport 9:56
  • Local Strategy 18:53
  • JWT Strategy 11:38
  • Common Auth Guard 26:14
Chương 4 Payments
  • Latest Stripe API Version
  • Stripe Setup 14:59
  • Reservations Payments - Part 1 10:02
  • Reservations Payments - Part 2 9:41
Chương 5 Notifications
  • Emit Notification 14:15
  • Email Notification 12:34
  • OAuth 2.0 Scopes 1:15
Chương 6 Production Deployment
  • Google Cloud Engine Setup 9:21
  • Productionize & Push Dockerfile 13:11
  • Docker Build Hanging
  • Automated CI/CD With CloudBuild 8:57
  • Helm Chart 12:15
  • MongoDB Atlas 7:01
  • Kubernetes Services & Env Variables - Part 1 13:23
  • Kubernetes Services & Env Variables - Part 2 9:29
  • Health Check 2:41
Chương 7 Google Cloud
  • Google Kubernetes Engine 7:07
  • Ingress Load Balancer 8:09
Chương 8 Amazon Web Services
  • AWS Branch
  • CI/CD With CodePipeline 15:23
  • Amazon Elastic Kubernetes Service (EKS) 12:29
Chương 9 E2E Tests
  • Health Checks 13:48
  • Create & Get Reservations 10:52
Chương 10 Extra
  • User Roles 8:37
  • Debugging 8:26
Chương 11 Stripe Checkout Session
  • GitHub Branch
  • Payments Checkout Session 16:25
  • Reservations Checkout Session 16:00
  • Payment Webhooks 15:12
  • Payment Events 16:38
  • Webhook Listener 6:11
Chương 12 TypeORM & MySQL
  • Database Module 9:03
  • Abstract Repository 9:22
  • Entities 19:21
  • CRUD 5:39
Chương 13 RabbitMQ
  • Add RabbitMQ 9:19
  • Test & Compare RabbitMQ 7:23
Chương 14 GRPC
  • Additional Resources
  • Introduction 2:03
  • Protocol Buffers 12:30
  • Using TS Proto - Part 1 10:16
  • Using TS Proto - Part 2 21:00
Chương 15 GraphQL API Gateway
  • Apollo Federation
  • Apollo Federation Gateway 14:13
  • Reservations 12:17
  • Auth Contex & Playground 18:00
  • Auth Service & Payments 14:40
Chương 16 Prisma
  • Prisma
  • Prisma v7
  • Postgres 6:24
  • Prisma Schema & Migrations 13:19
  • Reservations Prisma Refactor 14:14
  • Reservations Prisma Docker 8:41
  • Auth Prisma Refactor 9:15
  • Auth Prisma Docker 2:59
  • Prisma Wrap Up 1:55
Chương 17 Updates
  • Backend Updates: Mongoose & Pnpm Workspaces 6:03
  • Prisma v7 9:08

Requirment

  • Experience with NestJS fundamentals including Controllers, Interceptors, Pipes & Guards

  • Experience with Nodejs & TypeScript

  • For deployment, experience with Docker, Kubernetes & kubectl

Outcomes

  • 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

Instructor

...
Michael Guay

0.0

  • ... 0 Student
  • ... 3 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all
Một sản phẩm của Công ty Cổ phần Thương mại Vạn Tín Việt·vantinviet.com