Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 1.51 KB

README.md

File metadata and controls

23 lines (12 loc) · 1.51 KB

fastapi_template

This is a nice basic template for ⚡ FastAPI.

For similar examples, see here and here.

To use this template:

  1. Click on the green button "Use this template"

  1. Create a new repository for your app. The name is entirely up to you.

  2. Update the app/main.py file as desired. For simple changes you can edit the file directly in GitHub. More advanced changes, including the addition of static files, templates, models, and other features, are best done in a local environment and then pushed to your repository. Please see the FastAPI documentation for further details.

  3. When you application is working and ready to deploy, type the following in your browser: https://heroku.com/deploy?template=https://github.com/<your git account>/<your repo>/tree/master

for example, to deploy from this repository you'd type https://heroku.com/deploy?template=https://github.com/apjanco/fastapi_template/tree/master

Please note that you will be prompted to create a Hiroku user account if you do not have one.