Learn programming with our articles
Practical tutorials, in-depth technology breakdowns, and the latest development trends from industry experts.
Fresh content
The most relevant materials from our experts
Testing FastAPI with pytest
Covered topics: Installation, TestClient (synchronous), Test database, Tests with fixtures.
Lifespan Events in FastAPI
Lifespan β manage application startup and shutdown (DB initialization, ML models, connection pools).
Background Tasks in FastAPI
BackgroundTasks β execute tasks after the response has been sent to the client.
FastAPI: Basics
FastAPI is a modern Python framework for building APIs. Automatic documentation, type hints, high performance.
Alembic: Database Migrations
Alembic is a migration management tool for SQLAlchemy/SQLModel.
SQLModel CRUD in FastAPI
SQLModel combines SQLAlchemy and Pydantic β a single model for both the database and the...
OAuth2 Bearer in FastAPI
OAuth2PasswordBearer is FastAPI's Bearer token authentication scheme.
Swagger Documentation in FastAPI
FastAPI automatically generates OpenAPI documentation from your code.
Deploying FastAPI with Docker
This guide runs the FastAPI application and PostgreSQL in separate containers and passes sensitive configuration...
Path and Query Parameters in FastAPI
Path parameters identify a specific resource, while query parameters commonly control filtering, sorting, and pagination.
JWT Authentication in FastAPI
Covered topics: Installation, Configuration, Password and Token Utilities, Token Endpoint.
SQLModel: the basics
SQLModel is a library for working with databases in FastAPI, combining SQLAlchemy and Pydantic.
Choose a direction
Each category contains carefully selected materials from experts
Want to share your knowledge?
Become an author on our blog and help other developers learn new technologiesBecome an author on our blog and help other developers learn new technologies