aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-01-12 20:55:50 +0100
committerlonkaars <l.leblansch@gmail.com>2021-01-12 20:55:50 +0100
commit374d39c6754894d34af016699fabd25706fa2f68 (patch)
tree1c33e3ae6b3d2981169b42db576f4d8c834ce530 /api
parenta42d22dd4b9ae33884f93d5fac5e672f4598dcaf (diff)
move main.py inside api folder
Diffstat (limited to 'api')
-rw-r--r--api/main.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/api/main.py b/api/main.py
new file mode 100644
index 0000000..b71dadb
--- /dev/null
+++ b/api/main.py
@@ -0,0 +1,8 @@
+from flask import Flask
+
+app = Flask(__name__)
+
+@app.route("/test")
+def testroute():
+ return "It's working!"
+