Add success and fail scripts

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-09-23 00:10:44 +01:00
parent 3a58f3918b
commit 3423ca6d54
2 changed files with 21 additions and 0 deletions

9
go-api/success Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
source .env
: "${API_PORT:=8000}"
curl --silent --show-error --verbose "http://localhost:$API_PORT"