feat: bootstrap backend MVP and architecture docs

This commit is contained in:
Chris
2026-03-29 23:01:34 +08:00
commit e9717d5214
36 changed files with 971 additions and 0 deletions

15
backend/app/main.py Normal file
View File

@@ -0,0 +1,15 @@
from fastapi import FastAPI
from app.api.admin import router as admin_router
from app.api.internal import router as internal_router
app = FastAPI(title="memberapi.ose.tw", version="0.1.0")
@app.get("/healthz", tags=["health"])
def healthz() -> dict[str, str]:
return {"status": "ok"}
app.include_router(internal_router)
app.include_router(admin_router)