Articles tagged "backend"

14 min readIntermediate

Django REST Framework Tutorial 2026: JWT Auth, Permissions, Filtering, and Tests

Django REST Framework tutorial 2026: build a production API with JWT authentication (SimpleJWT), object-level permissions, DjangoFilterBackend filtering, pagination, and pytest-django tests.

17 min readIntermediate

FastAPI Tutorial 2026: Build a Production REST API with PostgreSQL, JWT Auth, and Docker

FastAPI tutorial 2026: build a production REST API with async PostgreSQL (SQLAlchemy 2.0), JWT authentication, Pydantic v2 validation, Alembic migrations, and Docker Compose deployment.

15 min readIntermediate

PostgreSQL Full-Text Search Tutorial 2026: tsvector, GIN Indexes, Ranking, and Autocomplete

PostgreSQL full-text search tutorial 2026: tsvector, tsquery, GIN indexes for sub-50ms searches on 1M rows, ts_rank relevance ranking, multi-language stemming, autocomplete with pg_trgm, and when to use Elasticsearch instead.

13 min readIntermediate

Python Dataclasses vs Pydantic v2: Which to Use in 2026 (With Benchmarks)

Python dataclasses vs Pydantic v2 in 2026: feature comparison, performance benchmarks (Pydantic v2 is 5-50x faster than v1), migration guide from Pydantic v1, and decision guide by use case.

16 min readIntermediate

Python Decorators Tutorial 2026: 8 Production Patterns from Retry to Auth

Python decorators tutorial 2026: mechanics, functools.wraps, class-based decorators, and 8 production patterns — retry with backoff, TTL cache, rate limiter, type validator, deprecation, singleton, and FastAPI auth.

14 min readIntermediate

Redis Tutorial for Python Developers 2026: Caching, Rate Limiting, Pub/Sub, and Streams

Redis tutorial for Python developers 2026: API response caching with cache invalidation, token bucket rate limiter, pub/sub for real-time notifications, and Redis Streams for event sourcing — with redis-py and aioredis.

8 min readIntermediate

Go REST API with Gin: From Zero to Production (2026)

Build a production-ready REST API in Go using the Gin framework. Includes routing, middleware, JSON responses, PostgreSQL integration, and Docker deployment.