Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

Example

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

About

Run your existing HTTP middleware based apps in Serverless

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages