From 5c869ed32eabf47c67b358b2ca748debcd43febb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Tue, 15 Sep 2026 19:29:58 +0300 Subject: [PATCH] =?UTF-8?q?docs:=20=F0=9F=93=9D=20point=20the=20contract?= =?UTF-8?q?=20URLs=20at=20the=20backend=20door=20-=20hezarfen.dizey.sh=20i?= =?UTF-8?q?s=20the=20frontend=20now:=20it=20serves=20the=20SPA=20and=20pro?= =?UTF-8?q?xies=20only=20=20=20/api/*,=20so=20/swagger/=20and=20/api-docs/?= =?UTF-8?q?=20there=20return=20the=20SPA=20shell=20-=20the=20check-api-con?= =?UTF-8?q?tract=20skill=20(both=20copies)=20and=20the=20README=20prerequi?= =?UTF-8?q?sites=20now=20=20=20name=20hezarfen-backend.dizey.sh,=20with=20?= =?UTF-8?q?a=20note=20that=20the=20door=20is=20temporary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .agents/skills/check-api-contract/SKILL.md | 10 ++++++++-- .claude/skills/check-api-contract/SKILL.md | 10 ++++++++-- README.md | 2 +- 3 files changed, 17 insertions(+), 5 deletions(-) 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