Skip to main content
AmigoFish

FastAPI Crash Course - Modern Python API Development

From Traversy Media · · 1 hr 0 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.

If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.

Watch on YouTube

Not rated yet

Description

Learn the fundamentals of creating APIs with Python using the FastAPI framework.

Go beyond video tutorials with our new interactive platform https://startdev.link/youtube

Check out our sponsor Code Rabbit: https://coderabbit.link/traversymedia

Final Code & Docs: https://github.com/bradtraversy/fastapi-issue-tracker

Devsheets.io FastAPI Cheat Sheet: https://www.devsheets.io/sheets/fastapi

Timestamps: 0:00 - Introduction 1:06 - Sponsor (Code Rabbit) 2:45 - What Is FastAPI? (Slides) 8:25 - High Level Overview 10:11 - Virtual Environment Setup 11:43 - FastAPI Install & Basic Setup 13:32 - Your First Route 15:09 - Swagger Interactive Docs 16:07 - Basic Item Route Examples 19:00 - POST Requests 20:50 - API Router Setup 24:00 - JSON Storage Module 28:39 - Pydantic Schemas 36:10 - Issue GET Route 37:50 - Issue POST Route 43:26 - Issue PUT Route 45:17 - Issue DELETE Route 47:00 - Middleware (Timing Example) 52:50 - CORS 54:37 - Deploying to Render

Back to Traversy Media · Report a problem