Skip to content

Quick Start

Prerequisites

  • Go 1.26+
  • MongoDB reachable from the host for serve / check / worker

Steps

  1. Copy .env.example to .env and set MONGODB_URI.
  2. Run go mod tidy.
  3. Run go test ./....
  4. Build the binary.
  5. Start with iqv-integration-api serve.
  6. 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