Skip to content

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..

Notifications You must be signed in to change notification settings

AmaniEzz/containerized-node.js-microservices-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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..

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published