Video thumbnail for Implementing Async REST APIs in Python using FastAPI with PostgreSQL CRUD

Implementing Async REST APIs in Python using FastAPI with PostgreSQL CRUD

Feb 16, 2022

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
Science