Project requirements: Java 21 and eclipse latest
-
install docker desktop.
-
import projects into eclipse.
-
execute maven goal spring-boot:build-image -DskipTests
-
execute step3 for api-gateway, currency-conversion, currency-exchange and naming-server
-
now we can see 4 images listed in docker.
-
open powershell from start menu. execute below the command
-
docker image list
-
navigate to where you have folder structue imported in your local contains docker-compose.yaml file
-
execute command to make all container up and running.
docker-compose up
-
now test api url
http://localhost:8765/currency-conversion-feign/from/USD/to/INR/quantity/10
-
Happy Learning!!