Learn programming with our articles
Practical tutorials, in-depth technology reviews and current trends in the development world from industry experts.
Choose a direction
Each category contains carefully selected materials from experts
Fresh content
The most relevant materials from our experts
Bootstrap 5: Components for DevBlog
Bootstrap ships with a set of ready-made UI components. Instead of writing CSS from scratch,...
Your First Git Commit
Git will create a hidden .git folder — everything is stored there.
Middleware and CORS in FastAPI
Allows browser clients to make requests to an API from a different domain.
HTTPException in FastAPI
Охватываемые темы: Basic Usage, Status Codes, Error Details, Custom Headers.
Dependency Injection in FastAPI
Depends — FastAPI's dependency injection system for reusing code across endpoints.
Testing FastAPI with pytest
Охватываемые темы: 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.
Want to share your knowledge?
Become an author on our blog and help other developers learn new technologies