summaryrefslogtreecommitdiffstats
path: root/gui-project/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'gui-project/main.py')
-rw-r--r--gui-project/main.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/gui-project/main.py b/gui-project/main.py
new file mode 100644
index 0000000..d98b2c7
--- /dev/null
+++ b/gui-project/main.py
@@ -0,0 +1,10 @@
+from nicegui import ui
+from main_ui import MainUI
+
+FLASHCARDS_ROOT="/home/andreear/git/schwiizertuutsch/flashcards"
+
+@ui.page("/")
+def main_page():
+ MainUI()
+
+ui.run(port=3011) \ No newline at end of file