Amal is a full-stack developer interested in deep learning for computer vision and autonomous vehicles. He enjoys working with Python, PyTorch, Go, FastAPI, and Docker. He writes to learn and is a professional introvert.
This tutorial details how to configure Django to run on Docker along with Postgres, Gunicorn, Traefik, and Let's Encrypt.
This tutorial details how to configure FastAPI to run on Docker along with Postgres, Uvicorn, Traefik, and Let's Encrypt.
Add htmx and Tailwind CSS to Django to improve developer productivity.
Add htmx and Tailwind CSS to Flask to improve developer productivity.
Add social auth to a Flask app.
Set up social auth with Django and Django Allauth.
Commonly used web authentication methods.
Add session-based authentication to a Single-Page Application (SPA) powered by Flask and Svelte.
This article looks at what CSRF is and how to prevent a CSRF attack in Flask.
How property-based testing via Hypothesis and Schemathesis can be used to test FastAPI
This post looks at how to speed up CPU-bound and IO-bound operations with multiprocessing, threading, and AsyncIO.
Interested in moving from Flask to FastAPI? This article compares and contrasts common patterns in both Flask and FastAPI.
Serve up a style transfer machine learning model with FastAPI and Streamlit.