ecerami / fastapi_heroku

Illustrates how to deploy a barebones FastAPI via Heroku.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fastapi_heroku

Illustrates how to deploy a barebones FastAPI via Heroku.

To run locally

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Then, run via uvicorn:

uvicorn slack:app --reload

To deploy to heroku

heroku login  
heroku create
git push heroku main
heroku open

About

Illustrates how to deploy a barebones FastAPI via Heroku.

License:MIT License


Languages

Language:Python 100.0%