Mô tả

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 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.

Bạn sẽ học được gì

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, TypeORM & MySQL

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

Yêu cầu

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

Nội dung khoá học

15 sections

Introduction

7 lectures
Introduction
01:19
Course Outline
02:58
Course Prerequisites
00:35
System Architecture
03:31
Project Dependencies
00:14
GitHub Repository
00:08
Project Setup
05:14

Common Library

6 lectures
Database & Config Module
13:56
Abstract Repository
11:05
Reservations CRUD
20:22
Validation & Logging
10:31
Note for Windows
00:27
Dockerize
13:35

Authentication

5 lectures
Users
12:31
Passport
09:56
Local Strategy
18:53
JWT Strategy
11:38
Common Auth Guard
26:14

Payments

3 lectures
Stripe Setup
14:59
Reservations Payments - Part 1
10:02
Reservations Payments - Part 2
09:41

Notifications

2 lectures
Emit Notification
14:15
Email Notification
12:34

Production Deployment

9 lectures
Google Cloud Engine Setup
09:21
Productionize & Push Dockerfile
13:11
Docker Build Hanging
00:14
Automated CI/CD With CloudBuild
08:57
Helm Chart
12:15
MongoDB Atlas
07:01
Kubernetes Services & Env Variables - Part 1
13:23
Kubernetes Services & Env Variables - Part 2
09:29
Health Check
02:41

Google Cloud

2 lectures
Google Kubernetes Engine
07:07
Ingress Load Balancer
08:09

Amazon Web Services

3 lectures
AWS Branch
00:03
CI/CD With CodePipeline
15:23
Amazon Elastic Kubernetes Service (EKS)
12:29

E2E Tests

2 lectures
Health Checks
13:48
Create & Get Reservations
10:52

Extra

2 lectures
User Roles
08:37
Debugging
08:26

TypeORM & MySQL

4 lectures
Database Module
09:03
Abstract Repository
09:22
Entities
19:21
CRUD
05:39

RabbitMQ

2 lectures
Add RabbitMQ
09:19
Test & Compare RabbitMQ
07:23

gRPC

5 lectures
Additional Resources
00:02
Introduction
02:03
Protocol Buffers
12:30
Using TS Proto - Part 1
10:16
Using TS Proto - Part 2
21:00

GraphQL API Gateway

5 lectures
Apollo Federation
00:06
Apollo Federation Gateway
14:13
Reservations
12:17
Auth Contex & Playground
18:00
Auth Service & Payments
14:40

Prisma

8 lectures
Prisma
00:04
Postgres
06:24
Prisma Schema & Migrations
13:19
Reservations Prisma Refactor
14:14
Reservations Prisma Docker
08:41
Auth Prisma Refactor
09:15
Auth Prisma Docker
02:59
Prisma Wrap Up
01:55

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.