Base webui and backend additions

This commit is contained in:
2026-07-16 21:35:38 +02:00
parent d2b92401f1
commit 324367abd7
18 changed files with 1231 additions and 43 deletions
+8 -1
View File
@@ -1,4 +1,4 @@
.PHONY: service webui test build clean
.PHONY: service webui dev test build clean
export PATH := $(HOME)/.local/go/bin:$(PATH)
@@ -8,6 +8,13 @@ service:
webui:
cd webui && npm run dev
# Run API (:8080) and web UI (:5173) together; Ctrl+C stops both.
dev:
@trap 'kill 0' EXIT INT TERM; \
(cd service && go run ./cmd/server) & \
(cd webui && npm run dev) & \
wait
test:
cd service && go test ./...
cd webui && npm test