Commit graph

13 commits

Author SHA1 Message Date
d1840441c5 fix: webui now restarts automatically 2026-05-12 14:46:25 +02:00
8289d23cf9 feat: add minimal chart to display API data with hardcoded parameters 2026-05-11 23:17:43 +02:00
772063113b feat: add a simple cache versioning system in Dockerfile 2026-05-11 22:09:08 +02:00
97ca3813e8 tool: add a linter for html and css and apply it 2026-05-11 22:08:32 +02:00
4bd3ab2d2d feat: add a dummy web UI served by nginx in a container 2026-05-11 21:47:57 +02:00
e605bf8603 refacto: rename app into backend, to prepare for frontend dev 2026-05-11 21:46:21 +02:00
017092040d refacto: move ReadingRepository where it logically belongs 2026-05-11 21:46:21 +02:00
aa72971627 feat: use connection pool instead of a single shared connection
This is useful for multitask environments (like the API), to avoid
conflicts
2026-05-11 21:46:21 +02:00
a22413bb0b refacto: use common dependency injection repository for consumer app 2026-05-11 21:46:21 +02:00
f127a4c34c fix: query when only 1 data per day, or 1 day selected 2026-05-11 21:46:21 +02:00
5cef99d8d9 fix: ignore type checking on psycopg fetch 2026-05-11 21:46:21 +02:00
a0acb2950c feat: add API to get daily consumption 2026-05-11 21:46:21 +02:00
9c883a8eca refacto: reorganize files to easily add an API service 2026-05-11 21:46:21 +02:00