aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2021-02-12 21:28:48 +0300
committerBonfaceKilz2021-02-12 21:35:00 +0300
commit935f1b4f605026d2baa9618f99e0ffbd224a88db (patch)
tree78b4298e47eb0509807224e32ca38616e462edd4
parent2b6652a703a89514244cc6961b4ccbee2a839cbd (diff)
downloadgenenetwork3-935f1b4f605026d2baa9618f99e0ffbd224a88db.tar.gz
Add skeleton flask entry-point
-rw-r--r--main.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/main.py b/main.py
new file mode 100644
index 0000000..33d3882
--- /dev/null
+++ b/main.py
@@ -0,0 +1,14 @@
+"""Main entry point for project"""
+
+from flask import Flask
+app = Flask(__name__)
+
+
+@app.route("/")
+def hello():
+ """Test hello world"""
+ return "Hello World!"
+
+
+if __name__ == '__main__':
+ app.run()