A small scale spring microservice application example. Application can run on localhost, docker & kubernates.
Change directory to root of the project and run the below commmand.
docker compose upkubectl apply -k kustomization/- Movie Service
- Artist Service
- Authentication Service (JWT)
- API Gateway
- Eureka / Service Registry
- Eureka - http://localhost:8090/eurekawebui
- Swagger - http://localhost:8090/swagger-ui.html
For kubernates we need to get the api-gateway service NodePort IP or External/LB IP.
- Eureka - http://<API-GATEWAY>:8090/eurekawebui
- Swagger - http://<API-GATEWAY>:8090/swagger-ui.html
minikube service api-gateway The user & password needed to access above urls are mentioned in application.yml file in api-gateway service / docker compose file / inside kustomization directory. Default credential - user & password.