page_type | description | languages | products | |||
---|---|---|---|---|---|---|
sample |
A minimal sample app that can be used to demonstrate deploying FastAPI apps to Azure App Service. |
|
|
This is the sample FastAPI application for the Azure Quickstart Deploy a Python (Django, Flask or FastAPI) web app to Azure App Service. For instructions on how to create the Azure resources and deploy the application to Azure, refer to the Quickstart article.
Sample applications are available for the other frameworks here:
- Django https://github.com/Azure-Samples/msdocs-python-django-webapp-quickstart
- Flask https://github.com/Azure-Samples/msdocs-python-flask-webapp-quickstart
If you need an Azure account, you can create one for free.
To try the application on your local machine:
pip install -r requirements.txt
uvicorn main:app --reload
To learn more about FastAPI, see FastAPI.