aboutsummaryrefslogtreecommitdiff
path: root/qc_app/entry.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-04-20 13:44:26 +0300
committerFrederick Muriuki Muriithi2022-04-20 13:44:26 +0300
commit7b3dc9d36de1db28a6f36b03de85cf7f527231cc (patch)
tree38e33e6eb9e5ec2bbc99ca512ee3e01e996a91c6 /qc_app/entry.py
parent7cd50dbc6dc5c14bb211699e7a7103e4f1453edd (diff)
downloadgn-uploader-7b3dc9d36de1db28a6f36b03de85cf7f527231cc.tar.gz
Add scaffolding for web app
Add a basic scaffolding for the web interface to the quality-control application.
Diffstat (limited to 'qc_app/entry.py')
-rw-r--r--qc_app/entry.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/qc_app/entry.py b/qc_app/entry.py
new file mode 100644
index 0000000..4963246
--- /dev/null
+++ b/qc_app/entry.py
@@ -0,0 +1,9 @@
+"""Entry-point module"""
+from flask import Blueprint
+
+entrybp = Blueprint("entry", __name__)
+
+@entrybp.route("/", methods=["GET", "POST"])
+def upload_file():
+ """Enables uploading the files"""
+ return "STUB: We upload the files here"