Giter Club home page Giter Club logo

microservices-application's Introduction

Micro Services - Application

image

Application Architecture

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 docker images

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 .

deploy application with container

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

Open below port numbers in security groups

1001,1002,1003,1004,9999,8080

Check output in browser

http://3.238.2.74:8080/

image

microservices-application's People

Contributors

naresh240 avatar

Stargazers

arun9theja avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.