AmaniEzz / containerized-node.js-microservices-starter

Starter template for developing Node.js Microservices with Docker for containerization and Nginx as a reverse proxy to route user requests to the appropriate microservice..

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Containerized Node.js Microservices Starter Template With Nginx as a Reverse Proxy.

Starter template for developing Node.js Microservices with Docker for containerization and Nginx as a reverse proxy to route user requests to the appropriate microservice.

Setup

  1. Clone the repo
  2. Install node, docker and docker compose on your system.
  3. Run npm install to install dependencies in both /users and /store folders.
  4. Run docker compose up --build -d to build the docker images.
  5. Run docker-compose up to start the container.

Usage

  • Go to http://localhost/users you should see the following respone

image

  • Go to http://localhost/store you should see the following respone

image

About

Starter template for developing Node.js Microservices with Docker for containerization and Nginx as a reverse proxy to route user requests to the appropriate microservice..


Languages

Language:JavaScript 53.2%Language:Dockerfile 45.4%Language:Shell 1.4%