Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sivaprasadreddy/spring-boot-microservices-series
Code for SpringBoot MicroServices Blog Series
https://github.com/sivaprasadreddy/spring-boot-microservices-series
microservices spring-boot
Last synced: 3 days ago
JSON representation
Code for SpringBoot MicroServices Blog Series
- Host: GitHub
- URL: https://github.com/sivaprasadreddy/spring-boot-microservices-series
- Owner: sivaprasadreddy
- License: mit
- Created: 2018-02-19T12:21:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-11T05:55:38.000Z (8 months ago)
- Last Synced: 2025-01-24T05:04:41.649Z (10 days ago)
- Topics: microservices, spring-boot
- Language: Java
- Size: 174 KB
- Stars: 664
- Watchers: 56
- Forks: 627
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spring-boot-microservices-series
Code for [SpringBoot MicroServices Blog Series](https://sivalabs.in/2018/03/microservices-using-springboot-spring-cloud-part-1-overview/)> [!IMPORTANT]
> This is based on older versions of Spring Boot, Spring Cloud, and Spring Cloud Netflix.
> Please refer to the [Spring Boot MicroServices Course](https://github.com/sivaprasadreddy/spring-boot-microservices-course) for the latest version.## How to run?
### Build all modules:
`spring-boot-microservices-series> ./mvnw clean package -DskipTests=true`
### Start infrastructure modules in docker:
**The simplest way to run all the services in Docker:**
`spring-boot-microservices-series> ./run.sh start_all`
**To start only infrastructure services (mysqldb, rabbitmq, config-server, service-registry, hystrix-dashboard) in docker:**
`spring-boot-microservices-series> ./run.sh start_infra`
**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> ./run.sh start `
Ex: `spring-boot-microservices-series> ./run.sh start catalog-service`
* 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:18080