https://github.com/congcoi123/product-order-services
This project contains prototype modules for making a simple product order system based on micro-service architecture.
https://github.com/congcoi123/product-order-services
api-gateway configuration-management java java-spring java-spring-boot micro-service microservices monitoring-tool order-management product-management rbac-management service-registration
Last synced: about 1 year ago
JSON representation
This project contains prototype modules for making a simple product order system based on micro-service architecture.
- Host: GitHub
- URL: https://github.com/congcoi123/product-order-services
- Owner: congcoi123
- License: mit
- Created: 2019-12-22T07:45:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-30T01:44:40.000Z (almost 6 years ago)
- Last Synced: 2025-03-29T22:41:20.672Z (about 1 year ago)
- Topics: api-gateway, configuration-management, java, java-spring, java-spring-boot, micro-service, microservices, monitoring-tool, order-management, product-management, rbac-management, service-registration
- Language: Java
- Homepage: https://congcoi123.dev
- Size: 942 KB
- Stars: 15
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Overview
This project contains prototype modules for making a simple product order management system based on micro-service architecture. It based on [Spring](https://spring.io/) framework using Spring Boot, Spring Cloud.
# License
This project is currently available under the [MIT](https://github.com/congcoi123/product-order-services/blob/master/LICENSE) License.
# Installation
You can get the sources:
```
git clone https://github.com/congcoi123/product-order-services.git
```
# Manual
## Project Structure
### System Services
These services based on the [Netflix operations support system](https://spring.io/projects/spring-cloud-netflix) and services [token](https://en.wikipedia.org/wiki/JSON_Web_Token) security.
#### Configuration Service
This service provides configurations for all other services (centralized configuration for all services).
See more: https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html
#### Gateway Service
This service is responsible for mapping requests from a client to the desired service endpoint. It based on [Hystrix](https://github.com/Netflix/Hystrix).
See more: http://microservices.io/patterns/apigateway.html
#### Discovery Service
This is service discovery for your microservices, where all client applications can register by themselves and other microservices look up the Eureka Server to get independent microservices to get the job complete. It is also known as Discovery Server and it contains all the information about client microservices running on which IP address and port.
See more: https://cloud.spring.io/spring-cloud-netflix/multi/multi_spring-cloud-eureka-server.html
Eureka service URL: http://localhost:8001/eureka
#### Authentication Service
Authorization Server for all other services which grants tokens for the backend resource services. All other secured services must set jwk uri for endpoint implemented on this service.
#### Monitoring Service
Monitoring an application's health and metrics helps us manage it better, notice unoptimized behavior and get closer to its performance. This especially holds true when we're developing a system with many microservices, where monitoring each service can prove to be crucial when it comes to maintaining our system.
### Feature Services
This directory contains all bussiness services.
#### Administration
Comming soon !
#### Customer
Add or update information about a store's customers, including their addresses and whether they have an active customer account with the store.
#### Logger
Comming soon !
#### Master Data
Comming soon !
#### Notification
Comming soon !
#### Order
Create and update a store's orders. Each order is a record of a complete purchase that includes details of the customer, their cart, and any transactions.
#### Payment
Comming soon !
#### Product
Manage a store's products, which are the individual items and services for sale in the store.
#### Shipment
Comming soon !
#### Inventory
List or update the inventory of a variant's inventory item.Each variant can have one inventory item, and each inventory item can have many locations.Each location can have many inventory items for many variants.
#### Template
Comming soon !
## Diagram
Comming soon !
## How to start
Please run services as the following orders:
```
1) Start the configuration service
2) Start the eureka service
3) Start the api-gateway service
5) Start the monitoring service
6) Start the auth-role service
7) Now you can start other feature services
```
## Configurations
All configuration files can be found here: https://github.com/congcoi123/product-order-services-configuration
## Documentations
Each service directory contains their own `README` file and `ENDPOINTS` documentation.
## How to deploy
Coming soon !
> Happy coding !