Flask

How to Set Up a Next.js 15 Application on Ubuntu 26.04 — step-by-step Linux tutorial on Progressive Robot

How to Deploy a Flask App with Gunicorn and Nginx on Ubuntu 26.04

Flask is a lightweight Python web framework ideal for microservices, APIs, and small to medium applications. Gunicorn serves Flask in production as a WSGI application server, while Nginx handles SSL, static files, and load balancing. This guide deploys Flask on Ubuntu 26.04 LTS. Tested and valid on: Ubuntu 26.04 LTS Prerequisites Ubuntu 26.04 LTS with […]

Read more
How to Use Python Virtual Environments on Ubuntu 24.04 — step-by-step Linux tutorial on Progressive Robot

How to Deploy a Flask App with Gunicorn and Nginx on Ubuntu 24.04

Flask is a lightweight Python web microframework. This guide deploys a Flask application in production on Ubuntu 24.04 LTS using Gunicorn as the WSGI server and Nginx as the reverse proxy. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server Python 3.12 and pip installed Nginx installed Step 1 – Set Up […]

Read more
How To Use an SQLite Database in a Flask Application — step-by-step Databases tutorial on Progressive Robot

How To Use an SQLite Database in a Flask Application

In web applications, you usually need a database, which is an organized collection of data. SQLite is a simple and fast open source SQL engine that can be used with Python to store and manipulate application data. SQLite works well with Python because the Python standard library provides the sqlite3 module, which you can use to interact with any SQLite database. In this tutorial, you’ll build a small web application that demonstrates how to use SQLite with Flask.

Read more
How To Use Many-to-Many Database Relationships with Flask and SQLite — step-by-step Databases tutorial on Progressive Robot

How To Use Many-to-Many Database Relationships with Flask and SQLite

In this tutorial, you’ll modify an application built using Flask and SQLite by adding a Many-to-Many relationship to it. A many-to-many database relationship is a relationship between two tables where a record in each table can reference several records in the other table. For example, in a blog, a table for posts can have a many-to-many relationship with a table for storing authors.

Read more
How To Use One-to-Many Database Relationships with Flask and SQLite — step-by-step Databases tutorial on Progressive Robot

How To Use One-to-Many Database Relationships with Flask and SQLite

Flask is a framework for building web applications using the Python language, and SQLite is a database engine that can be used with Python to store application data. In this tutorial, you will use Flask with SQLite to create a to-do application where users can create lists of to-do items. You will learn how to use SQLite with Flask and how one-to-many database relationships work.

Read more
CHAT