Initial commit

This commit is contained in:
Nyeki
2026-07-24 22:27:22 +00:00
commit 6ed4195803
27 changed files with 2037 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
from fastapi import FastAPI
from contextlib import asynccontextmanager
from project.db import lifespan as db
@asynccontextmanager
async def lifespan(app: FastAPI):
await db.on_startup()
yield
await db.on_shutdown()