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 Flask to run on Docker along with Postgres, Gunicorn, Traefik, and Let's Encrypt.
Configure Django to run on Docker along with Postgres, Gunicorn, Traefik, and Let's Encrypt.
Commonly used web authentication methods.
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.
This article looks at what CSRF is and how to prevent a CSRF attack in Flask.
Add session-based authentication to a Single-Page Application (SPA) powered by Flask and Svelte.
How property-based testing via Hypothesis and Schemathesis can be used to test FastAPI
This tutorial looks at how to speed up CPU-bound and IO-bound operations with multiprocessing, threading, and AsyncIO.
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.