Looks at how to configure Redis Queue (RQ) to handle long-running tasks in a Flask app.
Flask is a Python web framework used for building web applications. It's light-weight so it doesn't make many decisions for you. You get to decide how you want to implement things, in other words. At its core, Flask is simple yet extensible, which is perfect for developing RESTful APIs and microservices.
The tutorials and articles on TestDriven.io are on the more intermediate to advanced side that cover topics like Docker containerization, deployment, payment processing, and combining Flask with front-end frameworks like React and Vue.
Latest Posts (31)
Quickly add Stripe to a Flask app in order to accept payments.
Overview of how the Application and Request contexts work in Flask.
Guide to testing Flask applications with pytest.
Real-world example of using Hashicorp's Vault and Consul to create dynamic Postgres credentials for a Flask web app.
Send confirmation emails to newly registered users with Flask, Redis Queue, and Amazon SES.
Three different methods for combining Flask and Vue.
This tutorial details how to configure Flask to run on Docker along with Postgres, Gunicorn, Traefik, and Let's Encrypt.
This article looks at Flask 2.0's new async functionality and how to leverage it in your Flask projects.
Configure Flask to run on Docker along with Postgres, Nginx, and Gunicorn.
Step-by-step walkthrough of how to deploy a Flask-based microservice (along with Postgres and Vue.js) to a Kubernetes cluster.
In this article, we'll look at the best use cases for Django and Flask along with what makes them unique, from an educational and development standpoint.
Learn what Werkzeug is and how Flask uses it for its core HTTP functionality.
Add htmx and Tailwind CSS to Flask to improve developer productivity.
Learn how server-side sessions can be utilized in Flask with Flask-Session and Redis.
This tutorial shows how to manage static files with Flask, WhiteNoise, and Amazon CloudFront.
This post looks at how to run a Flask app on Docker Swarm.
Add social auth to a Flask app.
Learn how sessions work in Flask.
Develop a web app for selling products using Stripe, Vue.js, and Flask.
Containerize a full-stack web app powered by Flask and Vue and deploy it to Heroku using Gitlab CI.
Step-by-step walkthrough of how to set up a basic CRUD app with Vue and Flask.
Leverage the JAMstack with Python and Flask by creating a static site and deploying it to Netlify.
This post looks at how to configure Celery to handle long-running tasks in a Flask app.
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.
Interested in how TDD works? This guide walks you through the process, using modern tools and techniques, from start to finish.
This tutorial looks at how to handle subscription payments with Flask and Stripe.
Interested in moving from Flask to FastAPI? This article compares and contrasts common patterns in both Flask and FastAPI.
Advanced look at how the Application and Request contexts work in Flask.