https://github.com/ravening/spring-boot-microservices-product-inventory
Spring boot microservices to implement product repository
https://github.com/ravening/spring-boot-microservices-product-inventory
Last synced: 2 months ago
JSON representation
Spring boot microservices to implement product repository
- Host: GitHub
- URL: https://github.com/ravening/spring-boot-microservices-product-inventory
- Owner: ravening
- Created: 2019-10-24T13:41:01.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-25T07:25:33.000Z (over 5 years ago)
- Last Synced: 2025-02-11T11:56:33.970Z (4 months ago)
- Language: Java
- Size: 131 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-boot-microservices-series
Code for SpringBoot MicroServices Blog Series## How to run?
### Build all modules:
`spring-boot-microservices-series> ./mvnw clean package -DskipTests=true`
### Start infrastructure modules in docker:
`spring-boot-microservices-series> docker-compose up -d mysqldb rabbitmq setup-vault config-server service-registry hystrix-dashboard`
**Start each microservice either in local or in docker:**
**Local:** `spring-boot-microservices-series/catalog-service> ./mvnw spring-boot:run`
**Docker:** `spring-boot-microservices-series> docker-compose up -d --build --force-recreate`
Ex: `spring-boot-microservices-series> docker-compose up -d catalog-service --build --force-recreate`
* MySQL container:
* hostname: mysqldb
* Ports : 3306:3306 (:)
* Username/Password: root/admin* RabbitMQ:
* hostname: rabbitmq
* Ports: 5672:5672, 15672:15672
* Admin UI: http://localhost:15672
* Username/password: guest/guest* Vault:
* hostname: vault
* Ports: 8200:8200
* Root token: 934f9eae-31ff-a8ef-e1ca-4bea9e07aa09* config-server:
* hostname: config-server
* Ports: 8888:8888
* URL: http://localhost:8888/* service-registry:
* hostname: service-registry
* Ports: 8761:8761
* URL: http://localhost:8761/* hystrix-dashboard:
* hostname: hystrix-dashboard
* Ports: 8788:8788
* URL: http://localhost:8788/hystrix* catalog-service:
* hostname: catalog-service
* Ports: 18181:8181
* URL: http://localhost:18181* inventory-service
* hostname: inventory-service
* Ports: 18282:8282
* URL: http://localhost:18282* order-service
* hostname: order-service
* Ports: 18383:8383
* URL: http://localhost:18383* shoppingcart-ui
* hostname: shoppingcart-ui
* Ports: 18080:8080
* URL: http://localhost:18080More information can be obtained from https://sivalabs.in/2018/03/microservices-using-springboot-spring-cloud-part-1-overview/