Flask

Flask is a lightweight Python web framework that provides useful tools and features for creating web applications in Python.

Flask subscription active
You will receive email notifications for new publications on Flask.
44 Results
  • Tutorial

    How To Make a Web Application Using Flask in Python 3

    Flask is a small and lightweight Python web framework that provides useful tools and features making creating web applications in Python easier. In this tutorial, you'll build a small web blog using Flask and SQLite i...
    By Abdelhadi Dyouri Python Frameworks Programming Project Development Python Flask SQLite
  • Tutorial

    How To Serve Flask Applications with uWSGI and Nginx on Ubuntu 18.04

    In this guide, we will be setting up a simple Python application using the Flask microframework on Ubuntu 18.04. The bulk of this article will be about how to set up the uWSGI application server to launch the applicat...
    By Justin Ellingwood, Kathleen Juell Python Python Frameworks Nginx Ubuntu Ubuntu 18.04 Flask
  • Tutorial

    How To Build and Deploy a Flask Application Using Docker on Ubuntu 18.04

    Docker is an Open Source application that allows administrators to create, manage, deploy, and replicate applications using containers. Flask is a web micro-framework that is built on Python. In this tutorial, you wil...
    By Michael Okoh Docker Nginx Ubuntu 18.04 Flask
  • Tutorial

    How To Structure Large Flask Applications

    In this DigitalOcean article, we learn how to create an application directory and structure it to work with modules / packages. These modules (flask blueprints) allow the development of re-usable components.
    By O.S. Tezer Python Frameworks Python Development Programming Project Flask
  • Tutorial

    How To Serve Flask Applications with uWSGI and Nginx on Ubuntu 16.04

    In this guide, we will be setting up a simple Python application using the Flask micro-framework on Ubuntu 16.04. The bulk of this article will be about how to set up the uWSGI application server to launch the applica...
    By Justin Ellingwood Python Python Frameworks Nginx Ubuntu Ubuntu 16.04 Flask
  • Tutorial

    How To Serve Flask Applications with uWSGI and Nginx on Ubuntu 20.04

    In this guide, you will build a Python application using the Flask microframework on Ubuntu 20.04. The bulk of this article will be about how to set up the uWSGI application server and how to launch the application a...
    By Kathleen Juell, Mark Drake Nginx Ubuntu Python Python Frameworks Ubuntu 20.04 Flask
  • Tech talk

    Getting Started With Flask

    Learn how to use Flask — a Python micro web framework, to build your web applications. See how Flask handles routing, web page templating, and more.
    By Mason Egger Tech Talks Flask Python Frameworks
  • Tutorial

    How To Deploy a Flask App Using Gunicorn to App Platform

    In this tutorial we will deploy a Flask App Using Gunicorn to DigitalOcean's App Platform.
    By Mason Egger Python Python Frameworks DigitalOcean App Platform Flask
  • Tutorial

    How To Serve Flask Applications with uWSGI and Nginx on CentOS 7

    In this guide, we will be setting up a simple Python application using the Flask micro-framework on CentOS 7. The bulk of this article will be about how to set up the uWSGI application server to launch the application...
    By Justin Ellingwood Python Frameworks Deployment Nginx Python CentOS Flask
  • Tutorial

    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...
    By Abdelhadi Dyouri Python Frameworks Python Development Databases Flask SQLite
  • Tutorial

    How To Make a URL Shortener with Flask and SQLite

    In this tutorial, you will build a URL shortener, which is a service that takes any URL and generates a shorter, more readable version like bit.ly. You will use Flask, SQLite, and the Hashids library to build your URL...
    By Abdelhadi Dyouri Flask Python Programming Project HTML SQLite
  • Tutorial

    How To Use Python-Markdown with Flask and SQLite

    Python-Markdown is a Python library that allows you to convert Markdown text to HTML; it mostly follows the Markdown standard with a few minor differences to the standard Markdown syntax. In this tutorial, you'll use ...
    By Abdelhadi Dyouri Flask Python HTML
  • Tutorial

    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...
    By Abdelhadi Dyouri Flask Python Python Frameworks SQLite
  • Tutorial

    How To Modify Items in a 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'll modify items in an applica...
    By Abdelhadi Dyouri Flask Python Python Frameworks SQL Databases SQLite
  • Question

    (Flask+Gunicorn+Nginx) Socket file problem: No such device or address

    As I was following on this tutorial: https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-18-04 Everything works fine (static pages, dynapic pages, etc.), ...
    Accepted Answer: Solved. You need Add :/bin to your PATH as shown below: Environment=“PATH=/home/artem/env/bin:/usr/bin:/bin” mkdir, readlink etc are in /bin path which is not in the modified PATH
    1 By nixbxs Flask Python Nginx
  • Question

    How to skip Dockerfile when deploying to App Platform?

    I have a repo with Flask app which I copied from https://github.com/digitalocean/sample-flask. For development purposes only, I've created a minimal Dockerfile. Now, when I try to deploy the app to App Platform it tri...
    1 By olegagapov DigitalOcean App Platform Flask
  • Question

    Deploy Error: Health Checks when deploying container image to the App platform.

    Hi, I'm facing trouble deploying my container image to the App platform. I test with a hello-world flask app with uwsgi My Dockerfile settings: ``` FROM tiangolo/uwsgi-nginx-flask:python3.8-alpine RUN apk --update ad...
    0 By zkid18 DigitalOcean App Platform Container DigitalOcean Container Registry (DOCR) Flask
  • Question

    NGNIX 504 Gateway Time-out

    Hi, I've been following this tutorial https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-20-04 I'm stuck on Configuring Nginx to Proxy Requests. Nginx e...
    0 By marisadimonda Nginx Flask Ubuntu 20.04
  • Question

    Traffic Monitor On App Platform

    Hi, I have deployed a flask app. and i can see the app CPU health ect... But i would also like to see the traffic to the app like to Dashboard where i can see requests
    1 By edwardShark Flask
  • Question

    127.0.0.1:5000 ERR_CONNECTION_REFUSED from react app but curl and browser works

    Hi, I have a droplet with a react app and a flask server (uwsgi). React app is accessible via http://<^>server_ip<^>:3000/ Flask Server is accessible via http://<^>server_ip<^>:5000/ My ReactApp is fetching data from...
    1 By fabdarice Flask React