humix
Deploy FastAPI on Heroku in just 6 minutes
3K views · 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
see more

Comments

Latest Videos
place
7:48
play
How to Create a CentOS 7.5 Virtual Machine on Azure
How to Create a CentOS 7.5 Vir...
How to Create a CentOS 7.5 Virtual Machine on Azure
2 views
place
5:55
play
Installing CentOS 8.1 OS GUI on Oracle VM Virtualbox on Wind...
Installing CentOS 8.1 OS GUI o...
Installing CentOS 8.1 OS GUI on Oracle VM Virtualbox on Windows 10 OS
749 views
place
14:43
play
How to manage Python projects using Virtualenv
How to manage Python projects ...
How to manage Python projects using Virtualenv
325 views
place
5:22
play
Installing Postgres SQL on Windows PC
Installing Postgres SQL on Win...
Installing Postgres SQL on Windows PC
721 views
place
5:05
play
How to add 301 Redirect from non www to www for Wordpress
How to add 301 Redirect from n...
How to add 301 Redirect from non www to www for Wordpress
112 views
place
21:03
play
How to Create ASP.NET Core 3.0 React SPA with Secure Members...
How to Create ASP.NET Core 3.0...
How to Create ASP.NET Core 3.0 React SPA with Secure Membership using MySQL Database in 20 Minutes
196 views
place
6:03
play
Setup Visual Studio Code for Python Development
Setup Visual Studio Code for P...
Setup Visual Studio Code for Python Development
902 views
place
16:27
play
How to Configure ASP.NET Core 3.1 Angular SPA, Identity Serv...
How to Configure ASP.NET Core ...
How to Configure ASP.NET Core 3.1 Angular SPA, Identity Server 4 (Authentication) with PostgreSQL
139 views
place
24:40
play
Hosting Wordpress On Azure (Step by Step Tutorial)
Hosting Wordpress On Azure (St...
Hosting Wordpress On Azure (Step by Step Tutorial)
1K views
place
9:26
play
Debugging Flask App with Visual Studio Code IDE
Debugging Flask App with Visua...
Debugging Flask App with Visual Studio Code IDE
469 views