Quick Start¶
Prerequisites¶
- Go 1.26+
- MongoDB reachable from the host for
serve/check/worker
Steps¶
- Copy
.env.exampleto.envand setMONGODB_URI. - Run
go mod tidy. - Run
go test ./.... - Build the binary.
- Start with
iqv-integration-api serve. - Call
GET /health/live.
Windows example:
powershell
copy .env.example .env
go mod tidy
go test ./...
.\scripts\windows\build.ps1
.\bin\iqv-integration-api.exe serve
In another terminal:
powershell
Invoke-RestMethod http://127.0.0.1:8080/health/live