feat: add API to get daily consumption

This commit is contained in:
Alexis Fourmaux 2026-05-10 12:36:38 +02:00
parent 9c883a8eca
commit a0acb2950c
18 changed files with 278 additions and 6 deletions

13
server/app/api.py Normal file
View file

@ -0,0 +1,13 @@
import uvicorn
from core.logging import setup_logging
setup_logging()
if __name__ == "__main__":
uvicorn.run(
"adapters.http.main:app",
host="0.0.0.0",
port=8000,
reload=False,
)