尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證TT frontend
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
React + Vite frontend for the Tenant Transparency project. Split out from the
main TenantTransparency repo so it can be hosted for free on GitHub Pages.
The backend (Rust API + data scraper + Postgres) lives in the private
TenantTransparency repo and is deployed separately.
By default the dev server calls the API at http://localhost:3000 (see
.env.example). Copy it to .env and point VITE_API_BASE_URL at wherever
your backend is running.檢視完整 README ↗React + Vite frontend for the Tenant Transparency project. Split out from the
main TenantTransparency repo so it can be hosted for free on GitHub Pages.
The backend (Rust API + data scraper + Postgres) lives in the private
TenantTransparency repo and is deployed separately.
Live at: https://tenanttransparency.com
npm install
npm run dev
By default the dev server calls the API at http://localhost:3000 (see
.env.example). Copy it to .env and point VITE_API_BASE_URL at wherever
your backend is running.
Pushing to main triggers .github/workflows/deploy.yml, which builds the
app and publishes it to GitHub Pages via the official Actions flow (not a
gh-pages branch). One-time setup on GitHub:
tenanttransparency.com > Save.
Since this repo publishes via a custom Actions workflow (not from a
branch), GitHub does not need or use a CNAME file in the repo for
this — the domain is stored in the repo's Pages settings instead.VITE_API_BASE_URL pointing at the live backend URL once it exists.A records at @ pointing at GitHub Pages'
IPs, and a CNAME record for www pointing at
JessicaTemplet.github.io. www.tenanttransparency.com will then
auto-redirect to the apex domain.basename={import.meta.env.BASE_URL} on the router keeps client-side
routes working correctly regardless of what base is set to in
vite.config.js.dist/404.html is a copy of dist/index.html, created at build time,
since GitHub Pages has no server-side rewrites and needs this to let
react-router-dom handle deep links (e.g. sharing a direct link to a
property page).