A simple Go web API for testing DevHarness integration workflows.
| Method | Path | Description |
|---|---|---|
| GET | /health |
Health check |
| GET | /api/items |
List all items |
| POST | /api/items |
Create an item |
| GET | /api/items/{id} |
Get item by ID |
| PUT | /api/items/{id} |
Update item |
| DELETE | /api/items/{id} |
Delete item |
go run main.go
# Server starts on :8080go test -v ./...| Variable | Default | Description |
|---|---|---|
PORT |
8080 |
HTTP listen port |