Initial scaffold: backend base + docker-compose dev infra + sveltekit frontend

This commit is contained in:
2026-09-17 17:52:38 +02:00
commit 2128fe9cac
29 changed files with 2101 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
.PHONY: dev-infra dev-infra-down backend frontend migrate-up migrate-down lint test
dev-infra:
docker compose -f deploy/docker-compose.dev.yml up -d
dev-infra-down:
docker compose -f deploy/docker-compose.dev.yml down
backend:
cd backend && go run ./cmd/server
frontend:
cd frontend && npm run dev
migrate-up:
migrate -database "$$DATABASE_URL" -path backend/migrations up
migrate-down:
migrate -database "$$DATABASE_URL" -path backend/migrations down 1
lint:
cd backend && golangci-lint run ./...
test:
cd backend && go test ./...