diff --git a/examples/minimalexample/app.py b/examples/minimalexample/app.py new file mode 100644 index 00000000..a3f30f81 --- /dev/null +++ b/examples/minimalexample/app.py @@ -0,0 +1,9 @@ +from flask import Flask + +app = Flask(__name__) + +@app.route("/", methods=["GET", "POST"]) +def index(): + return "Hello world!" + +app.run(debug=True) diff --git a/examples/minimalexample/app.py~ b/examples/minimalexample/app.py~ new file mode 100644 index 00000000..4bd5d307 --- /dev/null +++ b/examples/minimalexample/app.py~ @@ -0,0 +1,9 @@ +from flask import Flask + +app = Flask() + +@app.route("/", methods=["GET", "POST"]) +def index(): + return "Hello world!" + +app.run(debug=True)