920214f38d | ||
---|---|---|
.. | ||
application-config | ||
config | ||
customer-service | ||
discovery | ||
gateway | ||
order-service | ||
svc-book | ||
svc-rating | ||
zipkin | ||
README.md | ||
pom.xml |
README.md
Guide to Microservices: with Spring Boot and Spring Cloud Ebook
This module contains articles about bootstrapping Spring Cloud applications that are part of the Guide to Microservices: with Spring Boot and Spring Cloud Ebook.
Relevant Articles:
- Spring Cloud – Bootstrapping
- Spring Cloud – Securing Services
- Spring Cloud – Tracing Services with Zipkin
- Spring Cloud Series – The Gateway Pattern
- Spring Cloud – Adding Angular 4
- How to Share DTO Across Microservices
Running the Project
- First, you need a redis server running on the default port
- To run the project:
- copy the appliction-config folder to c:\Users{username}\ on Windows or /home/{username}/ on *nix. Then open a git bash terminal in application-config and run:
- git init
- git add .
- git commit -m "First commit"
- start the config server
- start the discovery server
- start all the other servers in any order (gateway, svc-book, svc-rating, zipkin)
- copy the appliction-config folder to c:\Users{username}\ on Windows or /home/{username}/ on *nix. Then open a git bash terminal in application-config and run: