Skip to content

An example of using FastAPI and deploying to Render

Notifications You must be signed in to change notification settings

getup8/fastapi-render

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy FastAPI on Render

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

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 10000
  6. Click Create Web Service.

See https://render.com/docs/deploy-fastapi for more details.

Thanks

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

About

An example of using FastAPI and deploying to Render

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages