Why Flask

I have used several different back-end frameworks before and I have found flask to be almost the absolute simplest to use and setup to do debugging.

How to install

pip3 install flask

The hello_world

from flask import Flask

app = Flask(__name__)

def hello_world():
    return 'Hello World!'

How to run it

export FLASK_APP=hello.py

flask run
# alternative way to start it
python3 -m flask run