• Stars
    star
    311
  • Rank 134,521 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 5 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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!

Introduction

tests NPM version NPM Total Downloads License TypeScript support Github 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

npm i fast-gateway

Usage

Gateway

const gateway = require('fast-gateway')
const server = gateway({
  routes: [{
    prefix: '/service',
    target: 'http://127.0.0.1:3000'
  }]
})

server.start(8080)

Remote Service

const service = 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

More Repositories

1

restana

Restana is a lightweight and fast Node.js framework for building RESTful APIs.
JavaScript
464
star
2

0http

Zero friction HTTP requests router. The need for speed!
JavaScript
153
star
3

keycloak-backend

Keycloak Node.js minimalist connector for backend services integration.
TypeScript
71
star
4

http-cache-middleware

HTTP Cache Middleware
JavaScript
29
star
5

jwt-keys-generator-api

A simple and secure JSON Web Token (JWT) signing/verification keys generator that uses OpenSSL.
JavaScript
12
star
6

rproxy

HTTP reverse proxy implementation based on Node.js and Docker
JavaScript
10
star
7

http-lambda-proxy

HTTP to AWS Lambda proxy
JavaScript
8
star
8

fast-proxy-lite

Node.js framework agnostic library that enables you to forward an http request to another HTTP server. Supported protocols: HTTP, HTTPS
JavaScript
7
star
9

restana-static

Efficiently serve static files using Node.js and Docker containers.
JavaScript
5
star
10

item-store-redis

This module provides classes that implement repositories for storing and retrieving data in a Redis database
TypeScript
4
star
11

middleware-if-unless

Invokes connect-like middleware if / unless routing criteria matches. Inspired on express-unless module.
JavaScript
4
star
12

realtime-forum

Realtime Pub/Sub - Community Discussion Forum
4
star
13

0http-bun

Bun-based HTTP framework inspired by 0http
JavaScript
3
star
14

on-http-end

Allows to capture HTTP response content and headers on request end.
JavaScript
3
star
15

restana-swagger-validator

Swagger/OpenAPI validation middleware.
JavaScript
2
star
16

website

21no.de website
HTML
1
star
17

echo-api

"Echo API" is a Docker-based solution to help debugging client services and API gateway solutions.
JavaScript
1
star
18

realtime-pubsub-client-go

The official Realtime Pub/Sub client for Go
Go
1
star
19

realtime-pubsub-client

Realtime PubSub client for JavaScript/TypeScript
TypeScript
1
star