Skip to content

A simple HTTP reverse proxy with basic request routing and authentication strategy

Notifications You must be signed in to change notification settings

mpraski/api-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Gateway

An HTTP reverse proxy with support for:

  • basic request routing
  • custom request authentication
  • rate limiting
  • CORS configuration

Purpose

This little proxy is designed to sit between the public L7 HTTP/HTTPS load balancer and the services in a private network. It is successfully used in production at BlueHealth, where it routes incoming traffic from GCP Cloud Load Balancer to respective Kube service withing GKE cluster. We chose to build it to accomodate our custom authenticate strategy and provide a minimum set of features an API gateway should have.

Builing

To build for you local architecture:

make build

To build for Linux x86-68:

make compile

Usage

To run with example config:

API_GATEWAY_CONFIG=$(cat example/config.yaml) make run

Authors

About

A simple HTTP reverse proxy with basic request routing and authentication strategy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published