|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/step-by-step-spring-boot-microservices-and-cloud-deployment/
课程评论:没有评论
课程名称:逐步学习 Spring Boot 微服务与云部署 课程概述: 在本课程中,我们将讨论项目的架构,创建一个类似于产品订购应用的项目。这个产品订购应用将包含书籍、食品或服装的产品列表,用户可以浏览这些列表并购买其中的产品,交易记录会被记录下来。我们将通过不同的微服务来实现这些功能,主要包括三个微服务:api-gateway、product-service 和 transaction-service。 1. **api-gateway**:作为整个应用的网关,负责管理 API 并处理用户管理。用户需要经过身份验证后才能访问其他服务。 2. **product-service**:管理产品的增删改查(CRUD)操作,作为产品管理服务。 3. **transaction-service**:管理交易的增删改查(CRUD)操作,存储产品购买的日志信息。 我们将使用 Spring Security 和 JWT 提供安全性,并确保微服务之间的安全连接,使用安全密钥令牌。 我们选择 PostgreSQL 和 H2Database 作为数据库,并在 Heroku 上部署代码,以便于管理和免费使用。微服务之间的连接将通过 Retrofit 库来实现。所有服务将通过 Heroku 部署,利用 GitHub 进行配置,最终实现一个可供所有人访问的生产应用和代码库。 此外,我们还将使用多种技术,如 Spring Boot、Spring Security、Hibernate、Gradle、Lombok 等,其中 Spring Boot 是我们的主要库,可以更简便快速地设置和配置数据库。 最后,我们将通过 Postman 测试各个微服务的应用,用于网络调试。本课程的目标是让学员掌握微服务架构,创建并部署一个完整的应用。谢谢大家!
Hi guys,In this course, we will talk about the architecture of our project.In this course, we will create a project like product-ordering-application.When we say product-ordering-application, we can think of it like that we will have a product-list page such as book-list, food-list or dress-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 three different microservices.Our microservices will be api-gateway, product-service and transaction-service.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 product-service, we will manage product CRUD operations. This service will be a product-management-service.In transaction-service, we will manage transaction CRUD operations. This service will store the logs coming from the product purchases. For example, the UserX bought the ProductX on DateX etc.Our microservices dependency process will be like that. First of all, the client can access the 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 PostgreSQL and H2Database. We can use other databases also but at the end of it we will deploy our codes to Heroku. These databases can be used on Heroku freely so we chose these databases.We will provide connection between microservices with Retrofit library. Retrofit will handle all our networking issues.For our all services, we will create cloud deployment with Heroku. Heroku is an amazing free framework. We can deploy our spring-boot projects with some configuration over github easily. So At the end of the course, we will have an application on production and we will have a code on github that is accessible by everyone.In addition to these libraries, In our project, we will use lots of technologies like Spring Boot, Spring Security, Hibernate, PostgreSQL, Gradle, Lombok, Heroku etc.Of course here, our main library will be Spring-boot. It will provide a simpler and faster way to set up, configure and database to provide data.At the end of each microservices, we will test our applications with Postman. Postman is another amazing tool to debug networking.That's all about the microservices architecture of our project.Thank you.