diff options
author | Frederick Muriuki Muriithi | 2022-04-20 13:44:26 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-04-20 13:44:26 +0300 |
commit | 7b3dc9d36de1db28a6f36b03de85cf7f527231cc (patch) | |
tree | 38e33e6eb9e5ec2bbc99ca512ee3e01e996a91c6 /qc_app/entry.py | |
parent | 7cd50dbc6dc5c14bb211699e7a7103e4f1453edd (diff) | |
download | gn-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.py | 9 |
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" |