FastAPI Crash Course - Modern Python API Development

By Traversy Media

Community Score: 50% | 44.2K views | 2mo

0 community ratings: null thumbs up, null thumbs down

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

Tags: FastAPI, fast api, python, python api, learn python, api framework, backend framework, web development, fastapi tutorial, fastapi crash course

More from Traversy Media

  • Why I stopped making coding tutorials — Score: 50%
  • You Can Build The Craziest Things with Claudes Agent SDK — Score: 50%
  • New 16-Hour AI Course! Build A Full-Stack SaaS With My AI Workflow — Score: 50%
  • Developers are forced to use AI — Score: 50%
  • AI Generated Code Has a Security Problem — Score: 50%
  • Escaping tutorial hell — Score: 50%