From 4c4eb4ce3f77782462886d3fa834444ec151fae7 Mon Sep 17 00:00:00 2001 From: Eric Schles Date: Fri, 24 Nov 2017 14:36:31 -0500 Subject: [PATCH] adding extremely minimal example --- examples/minimalexample/app.py | 9 +++++++++ examples/minimalexample/app.py~ | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 examples/minimalexample/app.py create mode 100644 examples/minimalexample/app.py~ 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)