Skip to content

A feature-rich API Gateway built with Express and Node.js, designed to handle various aspects of microservices architectures.

Notifications You must be signed in to change notification settings

its-saran/api-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Gateway

Project Cover

A feature-rich API Gateway built with Express and Node.js, designed to handle various aspects of microservices architectures. This gateway includes inbuilt authentication, proxy routing, rate limiting, logging, and monitoring.

Features

  • Inbuilt Authentication: Secure your APIs with a built-in authentication system. Easily manage and authenticate users within the gateway.

  • Proxy Routing: Route requests to different microservices or external APIs based on configurable rules.

  • Rate Limiting: Protect your APIs from abuse by implementing rate limiting. Control the number of requests a client can make within a specified time frame.

  • Logging: Comprehensive logging of requests and responses for debugging and auditing purposes.

  • Monitoring: Monitor the health and performance of your API Gateway with built-in tools.

Prerequisites

  • Node.js and npm installed

  • Firebase service account keys: Place your Firebase service account keys in the secrets/firebase.json file.

Getting Started

  1. Clone the repository:

    git clone https://github.com/its-saran/api-gateway.git
    
  2. Install dependencies:

    cd api-gateway
    npm install
    
  3. Configure API Gateway:

    • Customize the endpoints, rate limiting settings, and other configurations in config/config.json.

    • Example endpoints are shown in config.json

  4. Start the server:

    npm start
    

    Your API Gateway is now running at http://localhost:3000.

About

A feature-rich API Gateway built with Express and Node.js, designed to handle various aspects of microservices architectures.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published