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.
34 Results
  • 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 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 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
  • 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 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 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 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 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 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 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

    UWSGI made response but NGINX return empty response.

    My other api endpoints are working fine but only a file upload specific api endpoint is not working. i'm using Flask for API development, along with nginx and uwsgi. UWSGI LOG ``` [pid: 107416|app: 0|req: 1/2] 106.78....
    0 By kotadiyavivek Flask Nginx API Python Python Frameworks
  • Question

    Why using bash instead docker-compose ?

    Why are you building the Dockerfile, and create the container with a bash script instead using docker-compose or docker stack ?
    1 By squadz Nginx Docker Ubuntu 18.04 Flask
  • Question

    Disable HTTP logs in apps platform

    I have a flask application running in gunicorn in the app platform. Run command: bash gunicorn --config gconfig.py --worker-tmp-dir /dev/shm --log-level error wsgi:app gconfig.py: python bind = '0.0.0.0:8080' worker...
    1 By kshnkvn Python Flask DigitalOcean App Platform
  • Question

    upstream timed out.

    i'm running a flask app with Nginx and UWSGI and getting below error when i call a specific api. ``` 2021/02/14 09:45:46 [error] 1988#1988: 1 upstream timed out (110: Connection timed out) while reading upstream, clie...
    0 By kotadiyavivek Flask Nginx
  • 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
  • Question

    Flask application with gunicorn in the app platform does not work

    I have a flask application that I am trying to run in the app of platforms with a gunicorn. wsgi.py ```python from app import create_app app = create_app() if name == 'main': app.run() ``` gconfig.py ```python fro...
    1 By kshnkvn Python Flask DigitalOcean App Platform