serverless-docker

0.0.5 • Public • Published

Serverless docker plugin

serverless Build Status npm version Coverage Status dependencies license

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

Getting started

  • npm install - Installs all dependencies
  • npm start - Starts server listening at http://localhost:4000
  • npm 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

Package Sidebar

Install

npm i serverless-docker

Weekly Downloads

0

Version

0.0.5

License

MIT

Last publish

Collaborators

  • johncmckim
  • gertjvr