Deploy FastAPI on Heroku in just 6 minutes
Feb 16, 2022
In this tutorial we will deploy a REST API implemented using FASTAPI β‘ framework to Heroku
Full source code for this tutorial: http://bit.ly/2U2Pko9
Detailed blog post on how to create and deploy FASTAPI app to Heroku: http://bit.ly/2RD68jM
You can follow along with the tutorial if you have met the Prerequisites mentioned below
Prerequisites:
A GitHub account
A free Heroku account
Visual Studio Code IDE (preferred but not necessary)
A PC with Python 3.6 or latest version installed ( just for debug but not really required to practice this tutorial)
Fork the repo http://bit.ly/2U2Pko9 to your GitHub account to deploy the demo app to your own free Heroku account.
00:00 Introduction & Demo Project Walkthrough
00:25 Create Free App on Heroku & Connect to FastAPI repo on GitHub
02:22 Create a Procfile for deployment
03:23 Update Requirements.txt
04:26 Test Run FastAPI on local PC
04:45 Commit and push the Procfile & Requirements to GitHub Repo
05:26 Notice the Automatic Deployment on Heroku
06:03 Send GET request using POSTMAN
FastAPI is a python based High Performance Web API Framework with automatic OpenAPI (Swagger) and ReDoc doc generation capabilities for all its end points. Highly suitable for quick development of REST APIs or MicroServices.
FastAPI is full compatibility with Starlette (Starlette is a lightweight ASGI framework/toolkit, which is ideal for building high performance asyncio services) and Pydantic (a runtime data validation and settings management using python type annotations)
By leveraging the power of Starlette, FastAPI get full support for WebSockets and GraphQL.
#Heroku #FastAPI #devops
------------------------------------------------------------------------------------------------
πππ
±ππ
²ππ
Έπ
±π
΄ to ππππ
»π
Έπ
½π
Ίπ channel if you like the content http://bit.ly/2Y0ZunB
πππ
±ππ
²ππ
Έπ
±π
΄: http://bit.ly/2Y0ZunB
(γ£ββ‘β)γ£ Share this video with your friends and colleagues and let them know you are upto date with latest tech-trends
Follow us to keep updated with latest trends in Tech:
Facebook: http://bit.ly/2Djmd6l
Twitter: http://bit.ly/2Ol9ZQT
Instagram: http://bit.ly/2pV4cYY
Support:
(Appreciate your Generosity: πΈ)
PayPal: http://bit.ly/2NZgVma
ETH: 0x0689Ecd747d6F4eA9CE491aD0b1734fEe62b2229
Show More Show Less 