Go Full Stack With Spring Cloud Microservices and React JS

所在平台: Udemy

课程主页: https://www.udemy.com/course/go-full-stack-with-spring-cloud-microservices-and-react-js/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:使用 Spring Cloud 微服务和 React JS 完成全栈开发 课程概述:在本课程中,我们将创建一个类似于在线课程应用程序的项目。该应用程序将展示产品列表页,如图书列表、食品列表或课程列表,用户可以浏览并购买产品,所有交易记录将被记录。我们将通过五个不同的微服务来实现这一功能,包括:api-gateway、course-service、purchase-service、eureka-discovery-service 和 frontend-with-react。 在 api-gateway 微服务中,我们将管理整个应用程序的 API,作为所有服务的网关,并处理用户管理和授权。course-service 将负责课程的 CRUD 操作,作为课程管理服务。purchase-service 将管理购买记录的 CRUD 操作,记录用户的购买情况。eureka-discovery-service 则利用 spring-cloud-netflix-eureka 库,帮助各个服务之间发现和连接,避免硬编码主机名和端口。 在客户端,我们将使用 React 来获取来自这些微服务的数据,为用户提供友好的 UI。用户可以通过 React UI 创建课程、购买课程等操作。所有请求将通过 api-gateway。客户端需要完成登录过程才能访问其他服务,Spring Security 和 JWT 将是我们应用中的重要安全主题,各微服务之间也将采用安全连接,并使用安全密钥令牌。 我们将使用 MySQL、PostgreSQL 和 H2Database 作为数据库,以展示微服务的多样性。微服务间的连接将通过 OpenFeign 库处理,而 eureka discovery server 将协助微服务间的连接。同时,我们还将使用多个技术,如 Spring Boot、Spring Security、Hibernate、Maven、Lombok、JWT 等。其中,Spring Boot 将是我们主要的库,简化 REST API 应用的设置、配置和运行。课程结束时,我们还会使用 Postman 进行应用测试。 该课程为学习微服务架构和全栈开发提供了全面的实践机会,适合希望提升技能的开发者。

课程评论(0条)

课程详情

In this course, we will create a project like an online-course-application.When I say online-course-application, we can think of it like that we will have a product-list page such as book-list, food-list or course-list. Somehow users or customers will see these product-lists and they can buy one of the products. Of course, at the end of it, this transaction will be logged.Actually, in our application, we will try to implement these processes with different microservices.To implement this application, we will use five different microservices.Our microservices will be api-gateway, course-service, purchase-service, eureka-discovery-service and frontend-with-react.In api-gateway, we will manage APIs. This microservice will be a gateway for the whole application. To access the other services, we will use this microservice. In this microservice, we will handle user-management also. We will authorize users and if the users are authorized, other services can be available.In course-service, we will manage course CRUD operations. This service will be a course-management-service.In purchase-service, we will manage purchase CRUD operations. This service will store the logs coming from the course purchases. For example, the UserX bought the CourseX on DateX etc.Our other microservice will be eureka discovery service. To provide it we will use spring-cloud-netflix-eureka library.This microservice allows services to find and communicate with each other without hard coding hostname and port.With eureka service, other services can register eureka servers and all of them can reach each-other with application name.These four microservices will be used for server side.On the client side, we will use React to consume all data which come from these microservices. And we will provide a user-friendly UI with react.Our microservices dependency process will be like that.Clients can access the system from the UI. On react-UI,users can take different actions like creating courses, purchasing courses etc. All requests coming from react-UI will go to api-gateway. So all traffic will pass over api-gateway.To access the api-gateway, the client should pass the login process. Then other services will be accessible over the api-gateway.Spring-security will be one of the main topics in our application. Also, we will use JWT to provide security.Here, the important point is, we will also use secure connections among microservices. To provide it, we will use secure-key-tokens.As a database, we will use MySQL, PostgreSQL and H2Database. We will use different databases to show the functionalities of microservices.We will provide connections between microservices with the OpenFeign library. OpenFeign will handle connection problems in the gateway.Also, on the backend to provide the connection among all microservices, we will use eureka discovery server. Eureka-discovery-server will be aware of all microservices and it helps to create connections between microservices easily.In addition to these libraries, In our project, we will use lots of technologies like Spring Boot, Spring Security, Hibernate, MySQL, PostgreSQL, Maven, Lombok, JWT etc.Of course here, our main library will be Spring-boot. It will provide a simpler and faster way to set up, configure, and run rest API applications.At the end of each microservices, we will test our applications with Postman. Postman is another amazing tool to debug networking.

课程标签

0人关注该课程

主题相关的课程