-
A project-led path from HTTP basics to secure, database-backed FastAPI applications in Python
-
Modern Python tooling across Pydantic, SQLModel, SQLAlchemy, SQLite, Alembic, uv, and Ruff
-
Clear progression through validation, persistence, testing, authentication, roles, and scopes
FastAPI gives Python developers a flexible way to create modern APIs and server-side applications. Its routing, validation, documentation, and dependency features support maintainable services while reinforcing essential concepts such as clients, servers, HTTP requests, and responses.
Learning starts with setup, routes, methods, parameters, headers, cookies, debugging, and validation. A rent-a-room application connects Pydantic, SQLModel, SQLAlchemy, SQLite, ORM-based CRUD, database queries, and Alembic migrations. Later sections cover application structure, dependency injection, testing, password hashing, JSON Web Tokens, refresh tokens, password resets, role-based access control, and OAuth2 scopes.
Practical demonstrations show how the pieces work together in a complete backend codebase. You will design endpoints, control data flow, persist records, handle errors, test behavior, and protect routes with reusable security checks. The skills extend beyond one framework by strengthening widely used backend principles. By the end of this course, you will be able to build, organize, test, and secure database-driven FastAPI applications.
Best suited to intermediate Python developers who understand control flow, data types, functions, classes, and imports and are comfortable using a terminal and text editor. It also supports Django or Flask developers who want to add FastAPI, modern API design, database integration, testing, authentication, and authorization to their backend toolkit. Previous backend experience is not required.
-
Build FastAPI servers, routes, and request handlers
-
Validate API data with Pydantic models
-
Map Python models with SQLModel and SQLAlchemy
-
Perform CRUD operations through an ORM
-
Implement password hashing and JWT authentication
-
Secure endpoints with roles, scopes, and dependencies