play
Implementing Async REST APIs in Python using FastAPI with PostgreSQL CRUD
5K views · Feb 16, 2022
Visit Channel: tutlinks.com
In this tutorial we will implement a Python based FastAPI with PostgreSQL CRUD

The tutorial has three parts
Part 1: Workspace Setup
Part 2: Implementing Async CRUD Endpoints in FastAPI
Part 3: Performing CRUD operations using CURL

Contents:

Part 1 Workspace Setup
--------------------------------------------
(00:00) Intro
(00:32) Workspace Setup
(02:00) Install Python Modules

Part 2  Implementing Async CRUD Endpoints in FastAPI
--------------------------------------------
(04:45) Developing Async CRUD in FastAPI
(05:38) Build Connection String for PostgreSQL
(07:25) Setup SQL Alchemy Models & Engine
(09:40) Setup Pydantic Models
(10:27) Initialize FastAPI
(10:40) FastAPI CORS Setup
(12:05) Setup Databases Module
(12:25) FastAPI Events Startup Shutdown
(13:02) Implement POST to Create a new note
(16:42) Create database in PostgreSQL
(18:20) Run FastAPI using Uvicorn
(20:14) Insert a Note using CURL
(23:28) Implement GET to Retrieve list of Notes
(23:44) Implement PUT to Update note
(26:58) Implement GET to Retrieve a Note by ID
(29:40) Implement DELETE to permanently delete a Note given its ID
(32:31) A note on --reload arg for Uvicorn

Part 3 Performing CRUD operations using CURD
--------------------------------------------
(33:13) Add Note using CURL
(33:44) Get Notes collection using CURL
(34:26) Get Note by id using CURL
(37:44) Update Note using CURL
(38:44) Delete Note using CURL


Detailed Article: https://bit.ly/2O6onvp
Full Source Code: https://github.com/windson/fastapi/tree/fastapi-postgresql-azure-deploy


#FastAPI #PostgreSQL #Async #FastAPICRUD #RESTAPI
------------------------------------------------------------------------------------------------

????????? to ???????? channel if you like the content http://bit.ly/2Uc0YNk
?????????: http://bit.ly/2Uc0YNk

(っ◔◡◔)っ Share this video with your friends and colleagues and let them know you are upto date with latest tech-trends

Thanks ?

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

Comments

Recommended Videos
'Video thumbnail for Crea un API REST en PHP, en menos 10 minutos.'
11:41
play
Crea un API REST en PHP, en menos 10 minutos.
0 views · Sep 27, 2022
'Video thumbnail for Tutorial de SQL desde cero, aprende en 7 minutos'
7:34
play
Tutorial de SQL desde cero, aprende en 7 minutos
0 views · Sep 27, 2022
'Video thumbnail for Eliminar registros de MySQL con PHP'
6:18
play
Eliminar registros de MySQL con PHP
0 views · Sep 27, 2022
'Video thumbnail for Modificar registros de MySQL con PHP'
13:10
play
Modificar registros de MySQL con PHP
0 views · Sep 27, 2022
'Video thumbnail for Como trabajar con bases de datos en PHP'
9:40
play
Como trabajar con bases de datos en PHP
0 views · Sep 27, 2022
'Video thumbnail for Insertar registros a una base de datos MySQL con PHP'
8:48
play
Insertar registros a una base de datos MySQL con PHP
0 views · Sep 27, 2022