Swagger on Django REST

Your Django REST API works, but there is no documentation. Every new developer has to read the source code to understand the endpoints. drf-yasg generates interactive Swagger and ReDoc docs automatically from your views and serializers. TL;DR: Add Swagger and ReDoc interactive documentation to a Django REST Framework API using drf-yasg.Stack: Python, Django, Django REST … Read more

Django login

Django includes a complete authentication system: user models, sessions, login/logout views, and password hashing. You get it all without installing anything extra. TL;DR: Implement user authentication in Django using the built-in auth system and JWT tokens for DRF.Stack: Python, Django, djangorestframework-jwtLevel: BeginnerReading time: ~7 min Install Configure JWT in settings.py Add login route to urls.py … Read more

Reading/ writing in S3 with python

Every AWS application eventually needs to persist files: user uploads, generated reports, Lambda artifacts, data exports. S3 is the default answer, and boto3 makes reading and writing to it straightforward from Python. TL;DR: Read and write files to AWS S3 using Python and boto3, including upload, download, and bulk file listing.Stack: Python, boto3, AWS S3Level: … Read more

Dotnetcore

.NET Core is Microsoft’s cross-platform, open-source runtime for building web APIs, background services, and console apps. This reference covers the patterns that come up in real production applications. TL;DR: A .NET Core reference covering web APIs, dependency injection, Entity Framework Core, authentication with JWT, and Azure deployment.Stack: .NET Core, C#, ASP.NET Core, Entity Framework CoreLevel: … Read more

Django + Djangorest framework + Redis + Firebase

A Django API serving real-time features needs more than the ORM. Redis handles caching and session storage, Django REST Framework structures the API layer, and Firebase provides real-time push to connected clients. TL;DR: Build a full Django backend combining DRF for REST APIs, Redis for caching, and Firebase for real-time push notifications.Stack: Python, Django, Django … Read more

RabbitMQ

Direct service-to-service communication works until one service goes down and takes the caller with it. RabbitMQ puts a queue between producers and consumers: the sender publishes a message and moves on, regardless of whether the consumer is ready. TL;DR: Set up RabbitMQ and implement a producer-consumer pattern: publish messages to a queue and process them … Read more