Install dependencies:
go mod download
cd e2e && npm install && npx playwright install chromiumUpkeep dependencies:
go mod tidyRun project:
go run ./src/application.goRun unit tests:
go test ./...Run E2E tests (Playwright auto-starts the binary; build it first):
CGO_ENABLED=0 go build -o ./bin/httphq ./src
cd e2e && npx playwright testView test coverage:
go test ./... -coverprofile=coverage.out
go tool cover -html=coverage.outFormat project:
go fmt ./src && npx prettier --write .Build and run binary:
CGO_ENABLED=0 go build -o ./bin/httphq ./src
./bin/httphqBuild and run container:
docker build . -t httphq
docker run -dp 8080:8080 httphq
docker container ls -s