Create new services: inventory, recipes, suppliers

This commit is contained in:
Urtzi Alfaro
2025-08-13 17:39:35 +02:00
parent fbe7470ad9
commit 16b8a9d50c
151 changed files with 35799 additions and 857 deletions

View File

@@ -11,6 +11,7 @@ import time
from typing import Dict, List, Callable, Any, Optional
from dataclasses import dataclass
from enum import Enum
from fastapi import APIRouter
logger = logging.getLogger(__name__)
@@ -160,3 +161,16 @@ class HealthChecker:
"checks": check_results
}
# Create FastAPI router for health endpoints
router = APIRouter()
@router.get("/")
async def health_check():
"""Basic health check endpoint"""
return {
"service": "service",
"status": "healthy",
"timestamp": time.time()
}