Run your existing Node.js HTTP middleware based application in Serverless, on top of AWS Lambda and Amazon API Gateway.
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);
The example
application that's provided shows how to easily build serverless RESTful API's using the excellent Koa framework. It is also configured for Babel using serverless-webpack