Flask Run Flask Apps with Docker Compose Learn how to Dockerize a Flask app and then run it, PostgreSQL, Redis, Celery, and Flower with Docker Compose.
Web Development Feature flags in Flask using PostHog Learn how to use PostHog feature flags in your Flask applications to change your app's behaviour in real time.
Flask How to: HTML contact form with Flask and Resend Learn how to create an HTML contact form, add it to your Flask website, and have it send you an email when someone submits it!
Web Development How to customise pages and emails of Flask-Security-Too When you add login, signup, or other features with Flask-Security-Too, you get some unstyled plain HTML pages. Learn how to customise and style them in this article.
Flask User email confirmations with Flask-Security-Too Requiring user confirmation via email is traditionally not a simple thing to do. Flask extension Flask-Security-Too makes it much simpler.
Flask Query string arguments in REST APIs with Flask Query string arguments allow clients to send us extra data in the URL. Learn how to access query string arguments in a plain Flask route and in a Flask-Smorest API.
Flask User authentication in Flask with Flask-Security-Too Learn how to easily add user login and signup to any Flask app using the popular extension Flask-Security-Too!
REST APIs Create JWTs using Python for Flask or FastAPI Learn how to create JWTs for authentication using either Flask or pure Python (for use in FastAPI and other frameworks).
Learn Python Programming How to run tasks periodically in Render.com Have you ever had to run some code every hour, or every day, or every week? In this article I'll show you how to set it up, to run in the cloud, very easily!
REST APIs Exploring Python Task Queues: Celery and rq An overview of how task queues work and how to set up an rq task queue and background worker using Redis. With examples.
Flask How to handle file uploads with Flask Uploading files is tricky! In this post we show you two ways: a simple and a less simple, depending on your needs.
REST APIs Build your first REST API with Flask and PostgreSQL Learn to build a REST API to collect, aggregate, and serve temperature data using Flask and PostgreSQL!
REST APIs How to Add API Key Authentication to a Flask app Learn how to add API key authentication to your Flask apps using Flask-RESTful and SQLAlchemy.
Flask Build a blog platform with Flask: writing and showing posts Part 1 of this series to guide you through building a blog using Flask and Python! In this post you'll learn how to start your Flask app, set up a database, and create posts.
Flask Flashing messages with Flask Learn how to temporarily show messages in your websites when using Flask, by using the built-in message flashing mechanism. It's flexible yet straightforward!
Flask Handling the next URL when logging in with Flask Learn how to redirect users to their intended destination after logging in, instead of a default "profile" page every time. Simple, but can have a big impact in user experience!
Flask Protecting endpoints in Flask apps by requiring login In this post we'll learn to prevent unauthorised logins to our Flask endpoints. We'll also look at decorators so that we can secure endpoints with a single line of code for each!
Flask How to add user logins to your Flask website Authentication (log in and sign up) can be tricky. In this blog post we'll guide you through adding it to a website or web app built entirely with Flask!
Flask Simple JWT Authentication with Flask-JWT Adding authentication in Flask applications can be really straightforward. Learn more about token-based authentication with Flask-JWT in this post.
Web Development What is CORS and how to "fix" it CORS is a security feature of browsers, but is configured in the server side. It is used to control requests coming in from different domains. Learn more in this post!
Flask Token Authentication and Refreshing using Flask-JWT-Extended JWTs are great for processing authentication in a REST API. How can you stop requiring users provide their username and password every time the token expires? Learn about token-based authentication and token refresh!
Learn Python Programming Should I learn Flask or Django? Flask and Django are two behemoths of Python web development. Which one should you learn?
Flask Advanced configuration of Flask-JWT Flask-JWT is a great library to add user authentication to our Flask apps. Sometimes we want to configure it past what it gives us out of the box. Learn how in this post!
Flask Defining User Access Levels in Flask Access levels can be a tricky thing—having users, moderators, and administrators. How can you handle allowing access only to certain things to certain people?
Flask Password encryption with Flask and Python Why encrypt? It's normal when you start making software to not worry about many things: performance, security, or even the products you make. However, if you have a product that people are starting