serverless-proxy
v0.7.0
Published
Run your existing HTTP middleware based apps in Serverless
Maintainers
Readme
Run your existing Node.js HTTP middleware based application in Serverless, on top of AWS Lambda and Amazon API Gateway.
Getting Started
npm install --save serverless-proxy// handler.js
import ServerlessProxy from 'serverless-proxy';
import app from './src/app';
const appProxy = new ServerlessProxy(app);
export const proxy = (event, context, cb) => appProxy.request(event, context, cb);