GitHub - gshields01/fastapi: Template to deploy a simple Python FastAPI project to Render (ADS use case)

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Folders and files

NameName

Last commit message

Last commit date

Latest commit

History

9 Commits

Repository files navigation

Deploy FastAPI on Render

Use this repo as a template to deploy a Python FastAPI service on Render.

See https://render.com/docs/deploy-fastapi or follow the steps below:

Manual Steps

  1. You may use this repository directly or create your own repository from this template if you'd like to customize the code.

  2. Create a new Web Service on Render.

  3. Specify the URL to your new repository or this repository.

  4. Render will automatically detect that you are deploying a Python service and use pip to download the dependencies.

  5. Specify the following as the Start Command.

    uvicorn main:app --host 0.0.0.0 --port $PORT
  6. Click Create Web Service.

Or simply click:

Deploy to Render

Thanks

Thanks to Harish for the inspiration to create a FastAPI quickstart for Render and for some sample code!

About

Template to deploy a simple Python FastAPI project to Render (ADS use case)

Resources

Readme

Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks

Releases

No releases published

Languages

  • Python 100.0%