diff --git a/.agents/skills/check-api-contract/SKILL.md b/.agents/skills/check-api-contract/SKILL.md index ac612e1..edc1706 100644 --- a/.agents/skills/check-api-contract/SKILL.md +++ b/.agents/skills/check-api-contract/SKILL.md @@ -7,8 +7,14 @@ description: "Check Hezarfen's live Swagger/OpenAPI contract against the fronten Treat the deployed OpenAPI document as the primary contract: -- Swagger UI: `https://hezarfen.dizey.sh/swagger/` -- OpenAPI JSON: `https://hezarfen.dizey.sh/api-docs/openapi.json` +- Swagger UI: `https://hezarfen-backend.dizey.sh/swagger/` +- OpenAPI JSON: `https://hezarfen-backend.dizey.sh/api-docs/openapi.json` + +`hezarfen.dizey.sh` is the FRONTEND (it serves the SPA and proxies only +`/api/*` to the backend), so `/swagger/` and `/api-docs/` there return the SPA +shell, not the contract. The `hezarfen-backend.dizey.sh` door is a temporary +development exposure of the backend (Ferron -> 127.0.0.1:7656) and will be +hidden later; ask Burak for the current door if it stops answering. Fetch the machine-readable document directly with `curl -fsSL` and use `jq` to keep output focused. Do not clone or inspect the private backend repository diff --git a/.claude/skills/check-api-contract/SKILL.md b/.claude/skills/check-api-contract/SKILL.md index ac612e1..edc1706 100644 --- a/.claude/skills/check-api-contract/SKILL.md +++ b/.claude/skills/check-api-contract/SKILL.md @@ -7,8 +7,14 @@ description: "Check Hezarfen's live Swagger/OpenAPI contract against the fronten Treat the deployed OpenAPI document as the primary contract: -- Swagger UI: `https://hezarfen.dizey.sh/swagger/` -- OpenAPI JSON: `https://hezarfen.dizey.sh/api-docs/openapi.json` +- Swagger UI: `https://hezarfen-backend.dizey.sh/swagger/` +- OpenAPI JSON: `https://hezarfen-backend.dizey.sh/api-docs/openapi.json` + +`hezarfen.dizey.sh` is the FRONTEND (it serves the SPA and proxies only +`/api/*` to the backend), so `/swagger/` and `/api-docs/` there return the SPA +shell, not the contract. The `hezarfen-backend.dizey.sh` door is a temporary +development exposure of the backend (Ferron -> 127.0.0.1:7656) and will be +hidden later; ask Burak for the current door if it stops answering. Fetch the machine-readable document directly with `curl -fsSL` and use `jq` to keep output focused. Do not clone or inspect the private backend repository diff --git a/README.md b/README.md index 1d3d884..941772c 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ A modern, high-performance **SolidJS + TypeScript** web application for the Heza ## 📦 Prerequisites & Setup - **Node.js** 20+ or **bun** (recommended) -- Access to the Hezarfen backend at `https://hezarfen.dizey.sh` +- A Hezarfen backend to talk to — the deployed frontend proxies `/api/*` to it, so `https://hezarfen.dizey.sh` is enough in a browser; for a direct backend (dev) door use `https://hezarfen-backend.dizey.sh`, or `BACKEND_ORIGIN=http://127.0.0.1:7656` against a backend on the same machine ### Installation & Development