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.
Add htmx and Tailwind CSS to Flask to improve developer productivity.
Add htmx and Tailwind CSS to Django to improve developer productivity.
Interested in moving from Flask to FastAPI? This article compares and contrasts common patterns in both Flask and FastAPI.
How to work with static and media files in a Django project, locally and in production.
Serve up a style transfer machine learning model with FastAPI and Streamlit.
Several best practices to make your Dockerfiles and images cleaner, leaner, and more secure.
This tutorial details how to configure Flask to run on Docker along with Postgres, Gunicorn, Traefik, and Let's Encrypt.
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 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.