Microservices with Node JS and React
使用 Node JS 和 React 的微服务
使用使用 Node、React、Docker 和 Kubernetes 构建的微服务构建、部署和扩展电子商务应用
教程演示🔗
更多前端教程
What you’ll learn 学习内容
-
Architect large, scalable apps using a collection of microservices
使用微服务集合构建大型、可缩放的应用 -
Deploy a multi-service app to the cloud with Docker and Kubernetes
使用 Docker 和 Kubernetes 将多服务应用部署到云 -
Solve concurrency issues in a distributed systems environment
解决分布式系统环境中的并发问题 -
Leverage your Javascript skills to build a complex web app
利用您的 Javascript 技能构建复杂的 Web 应用程序 -
Build a Server-Side Rendered React App to render data from your microservices
构建服务器端呈现的 React 应用以呈现微服务中的数据 -
Understand how enterprise companies design their infrastructure
了解企业公司如何设计其基础架构 -
Share reusable code between multiple Express servers using custom NPM packages
使用自定义 NPM 包在多个 Express 服务器之间共享可重用代码 -
Write comprehensive tests to ensure each service works as designed
编写全面的测试,以确保每个服务都按设计工作 -
Communicate data between services using a lightning-fast event bus
使用闪电般快速的事件总线在服务之间传输数据 -
Write nothing but production-level code. No cutting corners!
只需编写生产级代码即可。不偷工减料!
Requirements要求
-
Basic knowledge of Javascript and Express is required
需要 Javascript 和 Express 的基本知识 -
Knowledge of React is good, but not needed
了解 React 是好的,但不是必需的 -
You must be familiar and comfortable with the command line
您必须熟悉并熟悉命令行
Description描述
Event-Based Architecture? Covered! Server side rendering with React? Yep. Scalable, production-ready code? Its here!
基于事件的架构?覆盖!使用 React 进行服务器端渲染?是的。可扩展的、生产就绪的代码?它来了!
Microservices are the number one solution for building and scaling out apps that are intended to grow. Just one little issue: there are few resources online that delve into the most complex and nasty issues around them! I built this course to fix that. This course tackles every major issues around microservices head on. From challenges with data replication to confusing unordered event streams, every major challenge of building microservices is covered.
微服务是用于构建和扩展旨在增长的应用程序的首选解决方案。只有一个小问题:很少有在线资源可以深入研究周围最复杂和最令人讨厌的问题!我建立这门课程是为了解决这个问题。本课程正面解决微服务的所有主要问题。从数据复制的挑战到令人困惑的无序事件流,涵盖了构建微服务的每个主要挑战。
Beyond focusing on the basics of microservices, this course is a perfect introduction to the world of full-stack development. You will work all the way from the frontend, assembling a React app using Hooks, to the backend, including database design and deployment strategies. Every step along the way is covered in tremendous detail, with ample diagrams to ensure every step is crystal clear.
除了关注微服务的基础知识外,本课程还完美地介绍了全栈开发的世界。你将从前端(使用 Hooks 组装 React 应用程序)到后端(包括数据库设计和部署策略)一路工作。一路上的每一步都非常详细,并附有充足的图表,以确保每一步都清晰明了。
Many other resources show only the easiest, simplest apps written with microservices. This course does the opposite: we focus on the most challenging aspects of microservices, challenges that you will likely encounter every single day. You will see these difficulties first hand, then solve them with easy-to-understand strategies.
许多其他资源仅显示使用微服务编写的最简单、最简单的应用。本课程则恰恰相反:我们专注于微服务最具挑战性的方面,即您每天都可能遇到的挑战。您将亲眼目睹这些困难,然后用易于理解的策略解决它们。
——————-
How This Course Works本课程如何运作
This course doesn’t focus on using an off-the-shelf microservices framework. Many exist, but they hide the inner workings and challenges of microservices away from you. Instead, we will be using a minimal number of libraries, and write as much custom code as possible. This will expose you to challenging problems and clever solutions when handling subjects like async events!
本课程并不侧重于使用现成的微服务框架。许多微服务都存在,但它们隐藏了微服务的内部工作原理和挑战。相反,我们将使用最少数量的库,并编写尽可能多的自定义代码。这将使您在处理异步事件等主题时遇到具有挑战性的问题和巧妙的解决方案!
What Technology You’ll Use
您将使用什么技术
Because we are building a full stack application, we will use a variety of technologies. On the frontend, we’ll use React and Next JS to present content to users. Each service is created using Node and Express. Data for each service is held in either a Mongo database or Redis. The entire app is deployed and runs in Docker containers executed in a Kubernetes cluster. Finally, almost all of the code in this course is written with Typescript.
因为我们正在构建一个完整的堆栈应用程序,所以我们将使用各种技术。在前端,我们将使用 React 和 Next JS 向用户呈现内容。每个服务都是使用 Node 和 Express 创建的。每个服务的数据都保存在 Mongo 数据库或 Redis 中。整个应用在 Kubernetes 集群中执行的 Docker 容器中部署和运行。最后,本课程中几乎所有的代码都是用 Typescript 编写的。
This is a scary list of technologies! Not familiar with some of these? No problem! The course is built assuming that you only know the basics of Javascript and Express. No other knowledge is needed – you will learn everything you need to know.
这是一个可怕的技术清单!不熟悉其中的一些?没关系!本课程的构建假设您只了解 Javascript 和 Express 的基础知识。不需要其他知识 – 您将学习您需要知道的一切。
What You’ll Be Able to Do
您将能够做什么
By the time you complete this course, you will be able to:
完成本课程后,您将能够:
-
Architect a multi-service application
构建多服务应用程序 -
Determine whether your app is a good fit for a microservices approach
确定你的应用是否适合微服务方法 -
Understand and solve the challenges in async, event-based communication between services
了解并解决服务之间基于事件的异步通信中的挑战 -
Use Docker and Kubernetes to deploy a multi-service app to any cloud provider
使用 Docker 和 Kubernetes 将多服务应用部署到任何云提供商 -
Organize and enhance the reusability of code in large projects
在大型项目中组织和增强代码的可重用性
What You’ll Learn学习内容
An absolute incredible number of topics are covered in this course. Here is a partial list of what you’ll do:
本课程涵盖的主题数量绝对令人难以置信。以下是您将执行的部分操作列表:
-
Practice patterns to create scalable microservices for a variety of app domains
为各种应用域创建可缩放微服务的实践模式 -
Build a Server-Side-Rendered React app using Hooks and Next JS
使用 Hooks 和 Next JS 构建服务器端渲染的 React 应用程序 -
Write a custom implementation of an event bus
编写事件总线的自定义实现 -
Optionally, run a development environment through a cloud provider
(可选)通过云提供商运行开发环境 -
Guarantee consistently structured responses from your different API’s
保证来自不同 API 的一致结构化响应 -
See best practices in communication between different services
查看不同服务之间通信的最佳实践 -
Configure and scale your services using Kubernetes Deployments
使用 Kubernetes 部署配置和扩展服务 -
Document and enforce structure constraints on events shared across microservices
记录并强制实施跨微服务共享的事件的结构约束 -
Limit access to your APIs using JWT-based authentication
使用基于 JWT 的身份验证限制对 API 的访问 -
And much more!还有更多!
This is the course I wish I had when I was learning microservices. A course that focuses on the hardest parts, gives clear explanations, and discusses the pros and cons of different design options. Sign up today and join me in mastering microservices!
这是我在学习微服务时希望拥有的课程。一门课程专注于最难的部分,给出清晰的解释,并讨论不同设计选项的优缺点。立即注册,和我一起掌握微服务!
Who this course is for:
本课程适用于谁:
- Javascript engineers looking to build large, scalable applications
希望构建大型、可扩展应用程序的 Javascript 工程师 - This course is *not* designed for sysadmins focused on infrastructure deployment
本课程*不是*为专注于基础架构部署的系统管理员设计的
更多前端教程
In this course, you’ll master the skills to build, deploy, and scale an E-Commerce app using Microservices built with Node, React, Docker, and Kubernetes. Explore building large, scalable applications, solving concurrency issues in a distributed systems environment, leveraging your JavaScript skills, and deploying multi-service apps to the cloud. Learn how enterprise companies design their infrastructure and write production-level code.
在本课程中,您将掌握使用 Node、React、Docker 和 Kubernetes 构建的微服务构建、部署和扩展电子商务应用的技能。我们将探讨如何构建大型、可扩展的应用,解决分布式系统环境中的并发问题,并充分发挥您的 JavaScript 技能。您还将学会将多服务应用程序部署到云端,了解企业基础架构设计,并编写生产级别的代码。