init commit

This commit is contained in:
2025-08-17 11:44:54 +09:00
commit 5592014530
59 changed files with 3175 additions and 0 deletions

10
app/api/main.py Normal file
View File

@@ -0,0 +1,10 @@
from fastapi import FastAPI
from app.core.config import settings
from app.api.routes import templates as templates_router
app = FastAPI(title="TG Autoposting API", version="0.1.0")
app.include_router(templates_router.router)
@app.get("/health")
async def health():
return {"status": "ok", "env": settings.env}