aboutsummaryrefslogtreecommitdiff
path: root/kennel/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'kennel/app.py')
-rw-r--r--kennel/app.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/kennel/app.py b/kennel/app.py
new file mode 100644
index 0000000..98a0448
--- /dev/null
+++ b/kennel/app.py
@@ -0,0 +1,13 @@
+import structlog
+from fastapi import FastAPI
+from fastapi.templating import Jinja2Templates
+
+app = FastAPI(
+ servers = [
+ {"url": "https://kennel.hatecomputers.club", "description": "prod"}
+ ]
+)
+
+logger = structlog.get_logger()
+
+templates = Jinja2Templates(directory="templates")