dangkhoa2016's picture
chore: add manual curl test scripts and DB inspection
dcb1716
Raw History Blame Contribute Delete
191 Bytes
BASE_URL=http://localhost:3000
# Health check
curl -s "$BASE_URL/health" | jq .
# API root info
curl -s "$BASE_URL/api" | jq .
# CORS preflight
curl -s -X OPTIONS "$BASE_URL/api/todos" -I