summaryrefslogtreecommitdiff
path: root/python/main.py
diff options
context:
space:
mode:
authornil0j <nil.jimeno@estudiant.fjaverianas.com>2024-09-21 10:17:23 +0200
committernil0j <nil.jimeno@estudiant.fjaverianas.com>2024-09-21 10:17:23 +0200
commitfaa13839f898c60ff5618be6e916ad2e60958468 (patch)
treed785b9e7c66d092c0e5fbc296382289f39fea501 /python/main.py
init
Diffstat (limited to 'python/main.py')
-rw-r--r--python/main.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/python/main.py b/python/main.py
new file mode 100644
index 0000000..c778f8f
--- /dev/null
+++ b/python/main.py
@@ -0,0 +1,10 @@
+import routes
+import database
+
+connector = database.getConnector()
+database.runQuery(connector, "SHOW DATABASES")
+
+app = routes.createApp()
+routes.createRoutes(app, connector)
+
+app.run()