React-Frontend: Grundgerüst (Vite, TypeScript, Router, TanStack Query)

- frontend/ mit Vite 8, React 19, React Router 8, TanStack Query 5, TS 7
- api.ts: Fehler allein über HTTP-Status (ApiError), errMsg wie bisher
- types.ts: API-Antworten laut notes/api.md
- Layout mit unverändertem Header-Markup, app.css als Kopie
- Dev-Proxy für /api und /static aufs Go-Backend
- Containerfile: HEALTHCHECK auf /api/stats

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TiXsPUqw7oeomZ8wZrQW5q
This commit is contained in:
irrlicht
2026-09-26 23:18:56 +02:00
co-authored by Claude Opus 5.5
parent 030a5bd943
commit 37279ac90d
18 changed files with 2091 additions and 1 deletions
+1 -1
View File
@@ -22,5 +22,5 @@ ENV KVER_ADDR=:8080
EXPOSE 8080
VOLUME ["/app/data", "/app/static/media"]
HEALTHCHECK --interval=30s --timeout=3s \
CMD wget -qO /dev/null http://localhost:8080/entry/feed/0 || exit 1
CMD wget -qO /dev/null http://localhost:8080/api/stats || exit 1
ENTRYPOINT ["/usr/local/bin/kver"]