NestJS 微服务:构建和部署可扩展的后端
超越文档,构建可扩展的生产级后端,该后端将教您 NestJS 微服务
教程演示🔗
What you’ll learn 学习内容
-
Build & deploy real NestJS microservices following best practices
按照最佳实践构建和部署真正的 NestJS 微服务 -
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
在 AWS 和 Google Cloud 上的 Kubernetes 集群中将 NestJS 微服务连接在一起 -
Test NestJS microservices using an E2E framework
使用 E2E 框架测试 NestJS 微服务 -
Implement JWT authentication & user roles
实现 JWT 身份验证和用户角色 -
Integrate payment functionality with Stripe
将支付功能与 Stripe 集成 -
Send emails with nodemailer & Gmail
使用 nodemailer 和 Gmail 发送电子邮件 -
Create CRUD APIs & save data with MongoDB, TypeORM & MySQL
使用 MongoDB、TypeORM 和 MySQL 创建 CRUD API 并保存数据 -
Use RabbitMQ to process & retry messages asynchronously
使用 RabbitMQ 异步处理和重试消息 -
Learn how to connect microservices together using gRPC
了解如何使用 gRPC 将微服务连接在一起 -
Use GraphQL & Apollo Federation to build an API Gateway and expose our microservices
使用 GraphQL 和 Apollo Federation 构建 API 网关并公开我们的微服务 -
Implement an automated CI/CD pipeline with CloudBuild
使用 CloudBuild 实现自动化 CI/CD 管道 -
Provision a load balancer to expose our application externally
预配负载均衡器以在外部公开我们的应用程序 -
Develop a production Dockerfile & package json for each microservice
为每个微服务开发生产 Dockerfile 和包 json
Requirements 要求
-
Experience with NestJS fundamentals including Controllers, Interceptors, Pipes & Guards
具有 NestJS 基础知识的经验,包括控制器、拦截器、管道和防护装置 -
Experience with Nodejs & TypeScript
Nodejs 和 TypeScript 的经验 -
For deployment, experience with Docker, Kubernetes & kubectl
对于部署,具有 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.
NestJS 是一个令人难以置信的后端框架,它允许我们以非常低的复杂性构建可扩展的 Node.js 后端。微服务架构是一种流行的架构,它允许我们构建和部署多个独立的应用程序,这些应用程序通过选定的传输层相互通信。
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.
本课程旨在弥合 NestJS 和这种微服务架构之间的差距。它超越了 NestJS 文档,向您展示了如何构建一个真正的预订系统,该系统接受付款、发送电子邮件通知并将数据持久化到 MongoDB 数据库。
Here are just some of the few additional things you can expect to learn in this course:
以下是您可以在本课程中学到的几件其他事情中的一小部分:
-
Develop a productionized Dockerfile for NestJS microservices
为 NestJS 微服务开发生产化的 Dockerfile -
Create a monorepo & shared library for common code
为通用代码创建 monorepo 和共享库 -
Learn how to create a custom package.json & Dockerfile for each microservice
了解如何为每个微服务创建自定义 package.json 和 Dockerfile -
Automate the build & deployment of Dockerfiles with a custom CI/CD process
使用自定义 CI/CD 流程自动构建和部署 Dockerfile -
Connect microservices together using a TCP transport layer
使用 TCP 传输层将微服务连接在一起
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.
本课程还包括对 GitHub 存储库的完全访问权限,因此您可以随时访问已完成的项目并可以引用此完成的代码。此外,您可以将任何问题或疑问发布到QA部分,我很乐意为您提供帮助。
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.
在本课程结束时,您将知道如何构建、部署和测试 Nestjs 微服务,以便您可以创建任何您能想到的可扩展应用程序。
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
有经验的后端开发人员,他们希望通过超越文档来学习 NestJS 微服务,以构建可扩展的生产级后端