Initial scaffold: FastAPI micro-service with Docker, SQLite, tests

This commit is contained in:
founder
2026-06-05 02:45:49 +02:00
commit 350143ceb4
16 changed files with 460 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
"""API routes."""
from datetime import datetime, timezone
from fastapi import APIRouter
router = APIRouter(prefix="/api")
@router.get("/health")
async def health():
"""Health check endpoint."""
return {
"status": "healthy",
"service": "micro-api",
"version": "0.1.0",
"timestamp": datetime.now(timezone.utc).isoformat(),
}