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.
- Python 3 (minimum version depending on application framework)
- Serverless Framework (a version that includes HTTP API support)
- Docker
- npm
npm install -g [email protected]
sls plugin install -n serverless-python-requirements
npm i -D serverless-dotenv-plugin
- Database examples
- WebSocket examples. WebSocket support in Mangum is currently "experimental" (ie: it might be broken).