Skip to content

soumiknandi/spring-microservice

Repository files navigation

Spring Microservice Application Example

A small scale spring microservice application example. Application can run on localhost, docker & kubernates.

How To Execute?

Change directory to root of the project and run the below commmand.

Docker

docker compose up

Kubernatess

kubectl apply -k kustomization/

Services

  • Movie Service
  • Artist Service
  • Authentication Service (JWT)
  • API Gateway
  • Eureka / Service Registry

Eureka & Swagger URLs

Localhost & Docker

Kubernates

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

For Minikube

minikube service api-gateway 

Authentication

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors