Original repo and tutorial by: https://github.com/s4kibs4mi/
This repository contains the latest source code of the spring-boot-microservices tutorial
You can watch the tutorial on Youtube here - https://www.youtube.com/watch?v=mPPhcU7oWDU
- Run
mvn clean package -DskipTeststo build the applications and create the docker image locally. - Run
docker-compose up -dto start the applications.
- Run
mvn clean verify -DskipTestsby going inside each folder to build the applications. - After that run
mvn spring-boot:runby going inside each folder to start the applications.
We introduce an API Gateway below.

Benefits of API Gateway shown below.

Secure Services by adding an Auth Server (KeyCloak)

Introduces Circuit Breaker for resilient communication between services.
Open state = Won't allow calls for a certain duration
Half Open = Goes to this state after being in Open State for a certain duration

Introduces a way to track down issues related to performances using distributed tracing (tracks request from start to finish).
Uses Spring Cloud Sleuth and Zipkin (UI to visualize this information)









