Add session-based authentication to a Single-Page Application (SPA) powered by Flask and Svelte.
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 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 (21)
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.
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.
This tutorial looks at how to handle subscription payments with Flask and Stripe.
This articles serves as a guide to testing Flask applications with pytest.
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.
Basic overview of how the Application and Request contexts work in Flask.
Quickly add Stripe to a Flask app in order to accept payments.
Real-world example of using Hashicorp's Vault and Consul to create dynamic Postgres credentials for a Flask web app.
This blog post looks at how to 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, Nginx, and Gunicorn.
The following is a step-by-step walkthrough of how to deploy a Flask-based microservice (along with Postgres and Vue.js) to a Kubernetes cluster.
This post looks at how to configure Redis Queue (RQ) to handle long-running tasks in a Flask app.
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.
This post looks at how to containerize a full-stack web app powered by Flask and Vue and deploy it to Heroku using Gitlab CI.
This post details how to develop a web app for selling products using Stripe, Vue.js, and Flask.
The following is a step-by-step walkthrough of how to set up a basic CRUD app with Vue and Flask.