Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

jordaneremieff/serverless-mangum-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-mangum-examples

Example ASGI applications and Serverless Framework configurations using Mangum.

There are examples for the following ASGI-compatible frameworks:

The examples are all intended to be basic starting points for deploying an ASGI application to AWS Lambda & API Gateway. Things like database support will require more advanced configurations.

Requirements

  • Python 3 (minimum version depending on application framework)
  • Serverless Framework (a version that includes HTTP API support)
  • Docker
  • npm

Setup

Serverless Framework

npm install -g [email protected]

Serverless Framework plugins

serverless-python-requirements

sls plugin install -n serverless-python-requirements

GitHub

serverless-dotenv-plugin

npm i -D serverless-dotenv-plugin

GitHub

TODO (maybe)

  • Database examples
  • WebSocket examples. WebSocket support in Mangum is currently "experimental" (ie: it might be broken).

About

Example ASGI applications and Serverless Framework configurations using Mangum

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published