inflearn logo

60 FastAPI Lessons You Won’t Need to Look Up Again

60 FastAPI Lessons: One Definitive Approach from Input Validation to Async Databases, Authentication, Caching, Streaming, and Docker Deployment—Without Confusion Between Old and New Versions

2 learners are taking this course

Level Basic

Course period Unlimited

Python
Python
Docker
Docker
REST API
REST API
SQLAlchemy
SQLAlchemy
FastAPI
FastAPI
Python
Python
Docker
Docker
REST API
REST API
SQLAlchemy
SQLAlchemy
FastAPI
FastAPI

What you will gain after the course

  • How to Separate Input and Output Schemas and Standardize Partial Updates (PATCH) and Global Error Response Formats with Annotated, Pydantic v2, and response_model

  • How to use Depends and yield-based dependency injection to assemble database sessions, authentication, and external clients like components—and easily swap them out in tests

  • How to Handle Relational Data Without MissingGreenlet or N+1 Queries and Design Zero-Downtime Migrations with SQLAlchemy 2.0 Async Sessions and Alembic

  • How to secure production services and concurrency with pwdlib (Argon2) and PyJWT, Refresh Token rotation, resource ownership checks (IDOR protection), row locking (with_for_update), and Redis caching and rate limiting

  • How to Implement Real-Time AI Response Streaming with Official SSE (fastapi.sse) and WebSockets, and Complete Deployment with Async pytest Rollback Isolation and a Non-Root Dockerfile and docker compose

Recommended for
these people

Who is this course right for?

  • For anyone who wants to pin down a single, up-to-date best practice amid outdated FastAPI examples and warning messages that turn up with every search.

  • Junior developers and solo makers who want to identify and fix async blocking, expired DB sessions, missing permissions, and concurrent booking issues in FastAPI code generated by AI.

  • Anyone who wants to bring together authentication, an asynchronous database, Redis, real-time AI streaming, automated testing, and Docker deployment in one project—going beyond toy CRUD apps.

  • For those who know other web frameworks or Python basics but want to understand how FastAPI works under the hood (async def vs. def, dependency lifecycles) with evidence and numbers.

Need to know before starting?

  • A basic understanding of Python syntax (functions, classes, and dictionaries) and the fundamentals of web requests and responses (HTTP GET/POST) is all you need.

Hello
This is catgpt

Career Verified

A through-and-through AI researcher, 'CatGPT', who busted their ass reading papers and fine-tuning models. Then one day, a bolt-from-the-blue mission landed in their lap: "You’ve finished building the model, right? Now write the front end and back end too so we can deliver it to the client."

To survive, I was forced to make a tearful career change into a full-stack developer. After successfully delivering the solution and making it back, AI had advanced so much that this time, instead of coding, I found myself taking on the role of a PM coordinating a team with AI...!

Not stopping there, this max-level engineer went all in and poured their full-stack soul into building a “lecture production automation pipeline” and even bringing an “AI instructor” to life. What fate awaits CatGPT, the full-stack AI engineer who has automated even their own livelihood(?)!

More

Curriculum

All

60 lectures ∙ (8hr 1min)

Published: 
Last updated: 

Reviews

Not enough reviews.
Please write a valuable review that helps everyone!

Similar courses

Explore other courses in the same field!

Limited time deal

$16.50

70%

$55.00