Skip to content

Repository files navigation

Introduction

testsNPM versionNPM Total DownloadsLicenseTypeScript supportGithub stars

A super fast, framework agnostic Node.js API Gateway for the masses ❤️
Docker images: https://hub.docker.com/repository/docker/kyberneees/rproxy

Since v2.3.0, AWS Lambda proxying integration is supported via http-lambda-proxy 🔥
Since v3.1.0, WebSockets proxying is supported via faye-websocket 🔥

Read more online:

Install

npmifast-gateway

Usage

Gateway

constgateway=require('fast-gateway')constserver=gateway({routes: [{prefix: '/service',target: 'http://127.0.0.1:3000'}]})server.start(8080)

Remote Service

constservice=require('restana')()service.get('/get',(req,res)=>res.send('Hello World!'))service.start(3000)

Testing

curl -v http://127.0.0.1:8080/service/get

More

About

Fast-gateway is an easy to use Node.js API gateway framework built to handle large scale API traffic with great performance and scalability. Written with JavaScript, it is a framework for the masses!

Topics

Resources

Code of conduct

Stars

322 stars

Watchers

8 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages