serverless-docker
v0.0.5
Published
This is a proof of concept to see if we can replicate Amazon API Gateway using docker images to run lambda
Downloads
369
Readme
Serverless docker plugin
This is a proof of concept to see if we can replicate Amazon API Gateway using docker images to run lambda
###Features:
- λ runtimes supported by docker-lambda.
- CORS
- Authorizer
- Custom Authorizer supported
- Coginito Authorizer not implemented yet
- Lambda Integration
- Velocity templates support. supported
- Lambda Proxy Integration. supported
Prerequisite
- docker - https://docs.docker.com/engine/installation/
Getting started
npm install
- Installs all dependenciesnpm start
- Starts server listening at http://localhost:4000npm test
- tests custom authorizer (Authorization:TOKEN 12345)
Acknowledgements
This would not be possible without lambci
- docker-lambda - Docker images and test runners that replicate the live AWS Lambda environment
@johncmckim for suggesting the idea