Ecommerce Microservices with Reactive Quarkus from Start to Finish.

Опубликовано: 12 Октябрь 2024
на канале: WJ Prajumsook
813
30

Create Ecommerce Microservices with Reactive Quarkus.
In this video I will create ecommerce microservices using Quarkus, Hibernate-orm reactive and PostgreSQL as a backend database.

Source code can be found at github: https://github.com/WJ-Prajumsook/quar...

Table of content
0:00 - Intro
0:11 - Create project structure and Quarkud projects
1:00 - Add Quarkus extensions to the project
3:30 - Implement customer-service
4:00 - Add lombok support to projects
5:06 - Configure PostgreSQL datasource (located in kubernetes container)
5:33 - How to find out database IP and port on kubernetes
6:19 - Run customer-service and checkout OpenAPI for the first time
6:53 - Create customer-service package structure
7:15 - Implement customer-service entities
10:49 - Implement customer-service domain model
12:35 - Run customer-service to initialize database table
13:10 - Implement reactive PanacheRepositories
14:20 - Implement customer-service service and web resource layer
27:52 - Testing API with Postman
28:11 - Create application root context
28:53 - Testing API with Postman
29:50 - Implement application error mapping
42:14 - Add SQL script to load and insert data to table on start-up
45:40 - Create JUnit tests for customer-service
59:38 - Create Kubernetes package and deploy on Kubernetes
1:00:39 - Testing customer-service on Kubernetes
1:02:22 - Implement product-service
1:02:55 - Configure product-service datasource using PorstgreSQL
1:03:03 - Create product-service package structure
1:03:25 - Implement product-service entities
1:08:36 - Implement the domain model
1:10:09 - Implement reactive PanacheRepositories
1:11:13 - Implement the service layer
1:18:00 - Implement web resources
1:26:28 - Create application error mapper
1:29:10 - Create application context root
1:29:45 - Testing API with Postman
1:31:36 - Refactoring create product method
1:35:30 - Configure sql script to load data to table on start up
1:36:54 - Implement JUnit tester
1:41:08 - Implement order-service
1:42:26 - Create order-service package structure
1:42:43 - Implement order-service entities
1:48:27 - Configure order-service datasource
1:50:38 - Implement order-service domain model
1:53:13 - Implement reactive PanacheRepositories
1:54:51 - Implement services
2:07:25 - Implement order-service web resource
2:24:56 - Refactoring create order method
2:30:55 - Refactoring database relationship
2:34:12 - Final verify order-service
2:35:15 - Implement JUnit tests
2:35:33 - Deploy order-service on Kubernetes