initial commit

This commit is contained in:
Krzysztof
2025-08-01 18:01:55 +02:00
commit 9af1af7f92
73 changed files with 6531 additions and 0 deletions

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
.PHONY: watch
watch:
go tool air \
-build.cmd="make build" \
-build.include_ext="go,sql,css,html,js" \
-build.full_bin="./tmp/main -secure=false" \
-proxy.enabled="true" \
-proxy.proxy_port="3001" \
-proxy.app_port="3000"
.PHONY: build
build:
go build -o ./tmp/main ./cmd/uptimemonitor
.PHONY: test
test:
go run gotest.tools/gotestsum@latest --format testdox -- ./test