المشاريع
عرض على GitHub
BackendStack21/fast-gateway
حول
Fast-gateway إطار عمل سهل الاستخدام لبوابة API في Node.js، صُمم للتعامل مع حركة مرور API على نطاق واسع بأداء عالٍ وقابلية للتوسع. كُتب بلغة JavaScript وهو إطار عمل متاح للجميع.
الأنظمة والبنية التحتيةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلIntroduction
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 viafaye-websocket🔥
Read more online:
- A “.js” API Gateway for the masses: https://itnext.io/a-js-api-gateway-for-the-masses-a12fdb9e961c
Install
npm i fast-gateway
Requires Node.js 24 or newer. Upgrading from v5.x? See the breaking changes.
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
- Website and documentation: https://fgw.21no.de
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…