feat(taskflow): add core task API, storage persistence, csv export, stats page, and test coverage

This commit is contained in:
Alexander Kalinovsky
2026-04-01 17:56:03 +03:00
commit 19d659df6b
31 changed files with 4197 additions and 0 deletions

18
app/api/health.py Normal file
View File

@@ -0,0 +1,18 @@
from datetime import datetime, UTC
from fastapi import APIRouter
router = APIRouter()
@router.get("/health")
def health() -> dict:
"""
Health check endpoint.
Returns server time in UTC ISO-8601 format.
"""
return {
"status": "ok",
"server_time": datetime.now(UTC).isoformat(),
}