Building Powerful APIs with Django, Django Rest Framework, and OpenAPI
summary
Shows a working Django + Django REST Framework API with a Dockerized demo repository and automated REST tests. Implements a CRUD treasures endpoint (example POST creates "Drew sweater" price $566), uses DRF generics and viewsets, built-in pagination and filtering, token/TFA style authentication, and OpenAPI-generated docs. Covers caching strategies (time-based, event-driven, lazy/cash-aside), conditional requests with ETags/304, rate-limited API keys, and a public repo reachable via QR for the exact code shown.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 2:52API requests and responses
- 3:33HTTP status codes
- 4:38Design APIs first
- 6:27HTTP request methods
- 7:51REST APIs and OpenAPI
- 8:14Why DRF chosen
- 9:19Generics vs ViewSets
- 10:26Live API demo
- 11:58Introduction to caching in APIs
- 13:03Fresh cached data
- 15:30Caching benefits
- 16:53Caching methods
- 17:40Security factors for APIs
- 19:47Closing
related talks
25mWrite an API for Almost Anything (or The Amazing Power and Flexibility of Django Rest Framework)
26mDjango, REST and OpenAPI - a gentle introduction
27mBuilding a REST API with Django & Django REST Framework
26mWhat it's really like building RESTful APIs with Django
02h 54m🌐 Building Your First API with Django and Django Rest Framework
46mCreating Solid APIs
27mWhat You Should Know About Django REST Framework
23mDjango REST API - So easy you can learn it in 25 minutes
