Skip to content

Rachit-Goel/API_Gateway-for-microservices

Repository files navigation

API Gateway for microservices

This application contains microservices:

  1. Content Service
  2. Users & Dailly-Pass Services

Each microservice have their separate own database.

An API Gateway is used for the communication between these microservices, which passes the request from one microservice to another acting as a proxy. App is dockerised using docker-compose.

Block Diagram: Backend APIs Communication

Tech Stack Used

  • Nodejs
  • Express
  • MongoDB

Steps to run the app

  • Clone the repo.
  • Run docker-compose build command
  • Run docker-compose up command
  • Both services & API gateway started.
  • Can check http://localhost:3000/api-docs to see the API documentation.

About

An API Gateway is used for the communication between these microservices, which passes the request from one microservice to another acting as a proxy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors