A simple serverless FastAPI application using Mangum to run on an AWS Lambda.
virtualenv -p python3.7 env
source ./env/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --host 0.0.0.0 --port 8080 --reload
cd env/lib/python3.7/site-packages
zip -r9 /path/to/root/function.zip
cd /path/to/root
zip -g function.zip lambda_function.py