This repository is for getting started with FastAPI service and deploying it on Render.
Below are the steps followed for render deployment:
-
Create a new Web Service on Render.
-
Specify the URL to your git repository.
-
Render will automatically detect that you are deploying a Python service and use
pip
to download the dependencies. -
Specify the following as the Start Command.
uvicorn main:app --host 0.0.0.0 --port $PORT
-
Click Create Web Service.
Check out this: https://render.com/docs/deploy-fastapi