Illustrates how to deploy a barebones FastAPI via Heroku.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Then, run via uvicorn:
uvicorn slack:app --reload
heroku login
heroku create
git push heroku main
heroku open