Go Full Stack With Spring Cloud Microservices and Angular

所在平台: Udemy

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

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:使用Spring Cloud微服务和Angular全面开发 课程概述: 在本课程中,我们将创建一个类似于在线课程应用程序的项目。该应用程序将包括如书籍清单、食品清单或课程清单等产品列表,用户可以查看这些产品并进行购买,所有交易记录将被记录。为了实现这些功能,我们将采用五个不同的微服务,包括API网关、课程服务、购买服务、Eureka发现服务和前端Angular应用。 在API网关中,我们将管理所有API,这个微服务充当整个应用的网关,用户管理和授权也在此进行。课程服务将负责处理课程的CRUD操作,而购买服务则记录用户购买课程的日志。Eureka发现服务将使用spring-cloud-netflix-eureka库,允许服务之间的发现与通信,而无需硬编码主机名和端口。 在客户端方面,我们将使用Angular来消费从这些微服务中获得的数据,并提供用户友好的界面。微服务的依赖关系如下:客户端通过Angular界面与系统交互,所有请求都经过API网关,用户需要先进行登录才能访问后续服务。此外,Spring Security和JWT将用于提供安全性,确保微服务之间的安全连接将利用安全密钥令牌。 数据库方面,我们将使用MySQL、PostgreSQL和H2数据库,以展示微服务的不同功能。微服务间的连接将通过OpenFeign库处理,后端连接将由Eureka发现服务器管理。我们还将使用多种技术,包括Spring Boot、Spring Security、Hibernate等,其中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-angular.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 Angular to consume all data which come from these microservices. And we will provide a user-friendly UI with angular.Our microservices dependency process will be like that.Clients can access the system from the UI. On angular-UI,users can take different actions like creating courses, purchasing courses etc. All requests coming from angular-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人关注该课程

主题相关的课程