geekyabhi / microservice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Application overview -

Setup Instructions

  • S1 Clone the project.
  • S2 Create a file .env in the root folder of all four services.ie ./Payments/.env .
  • S3 Make sure that docker is installed in the system.
  • S4 Open terminal in root folder of the project where docker-compose.yml file is present and run following commands.
# make sure that port 8080 is free for this application and ports are free as per the docker-compose.yml.
docker compose build --no-cache
docker compose up

To verify that all four services are running properly open the following four links in the browser

Each of them would give a message like : Customer service running properly , Products service running properly , Payments service running properly , Shopping service running properly

# To close application

docker compose down

Architechture of Microservice

Untitled Diagram drawio (2)

About


Languages

Language:JavaScript 88.7%Language:Go 10.5%Language:Dockerfile 0.7%