aboutsummaryrefslogtreecommitdiff
path: root/app/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/app.py')
-rw-r--r--app/app.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/app.py b/app/app.py
new file mode 100644
index 0000000..3bf0337
--- /dev/null
+++ b/app/app.py
@@ -0,0 +1,17 @@
1# UGE / L2 / Intro to relational databases / Python project prototype
2# Author: Pacien TRAN-GIRARD
3# Licence: EUPL-1.2
4
5from fastapi import FastAPI, status
6import app_sessions
7import app_account
8import app_wallet
9
10main = FastAPI()
11
12# Add sessions based on signed cookies.
13main.add_middleware(app_sessions.SessionManager)
14
15# Register our request handlers
16main.include_router(app_account.router)
17main.include_router(app_wallet.router)