The application consists of 6 different Microservices
- offers-microservice-spring-boot - Spring Boot App with Offers data
- shoes-microservice-spring-boot - Spring Boot App with Shoe data
- wishlist-microservice-python - Python App with Wishlist data
- cart-microservice-nodejs - Node.js App with Cart data
- zuul-api-gateway - API gateway that proxies all the micro-services
- ui-web-app-reactjs - Single Page Application that provides the UI
Build offers images
cd offers-microservice-spring-boot
docker build -t offers .
Build shoes image
cd shoes-microservice-spring-boot
docker build -t shoes .
Build wishlist image
cd wishlist-microservice-python
docker build -t wishlist .
Build cart image
cd cart-microservice-nodejs
docker build -t cart .
Build zuul-api image
cd zuul-api-gateway
docker build -t zuul-api .
Build UI image
cd ui-web-app-reactjs
docker build -t ui .
docker run --name offers -p 1001:1001 -d offers:latest
docker run --name shoes -p 1002:1002 -d shoes:latest
docker run --name wishlist -p 1003:1003 -d wishlist:latest
docker run --name cart -p 1004:1004 -d cart:latest
docker run --name zuul-api -p 9999:9999 -d zuul-api:latest
docker run --name ui -p 8080:8080 -d ui:latest
1001,1002,1003,1004,9999,8080