Initial commit

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Christoph K.
2026-03-21 15:03:55 +01:00
commit dfd66e43c6
78 changed files with 6219 additions and 0 deletions

18
Makefile Executable file
View File

@@ -0,0 +1,18 @@
.PHONY: dev-backend dev-frontend build clean
dev-backend:
cd backend && go run ./cmd/server
dev-frontend:
cd frontend && pnpm dev
build:
cd frontend && pnpm install && pnpm build
rm -rf backend/static/*
cp -r frontend/dist/* backend/static/
cd backend && CGO_ENABLED=1 go build -o ../krafttrainer ./cmd/server
clean:
rm -f krafttrainer
rm -rf frontend/dist
find backend/static -not -name '.gitkeep' -not -path backend/static -delete 2>/dev/null || true