
FastAPI Crash Course - Modern Python API Development
Learn the fundamentals of creating APIs with Python using the FastAPI framework.
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
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
Traversy Media
Traversy Media features the best online web development and programming tutorials for all of the latest web technologies including Node.js, Angular 2, React.js, PHP, Rails, HTML, CSS and much more...