Pantry tracker app with: - FastAPI backend + Vue 3 SPA frontend - SQLite via circuitforge-core (migrations 001-005) - Inventory CRUD, barcode scan, receipt OCR pipeline - Expiry prediction (deterministic + LLM fallback) - CF-core tier system integration - Cloud session support (menagerie)
14 lines
247 B
Python
14 lines
247 B
Python
# app/api/endpoints/health.py
|
|
from fastapi import APIRouter
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
@router.get("/")
|
|
async def health_check():
|
|
return {"status": "ok", "service": "kiwi-api"}
|
|
|
|
|
|
@router.get("/ping")
|
|
async def ping():
|
|
return {"ping": "pong"}
|