Skip to content
keanu77 edited this page Jul 3, 2026 · 2 revisions

運動禁藥案例平台(antidopingplatform) · Wiki

整合國際運動禁藥案例的互動式知識平台:案例搜尋、數據視覺化、教育測驗與 TUE(治療用途豁免)資訊。全 UI 繁體中文,主題「乾淨運動從你我開始」。

程式層規範看 repo 的 README.mdCLAUDE.md(架構與 gotchas 以 CLAUDE.md 為準);本 Wiki 聚焦專案介紹、維護、路線圖、計畫與技術債。

Wiki 導覽

頁面 內容
專案簡介(Introduction) unified server 架構、MERN 技術棧、資料模型、頁面/API、內容來源、部署
維護指南(Maintenance) 環境指令、dev/prod API、架構 gotchas、資料 seeding、Zeabur 部署、檔案速查
產品路線圖(Roadmap) near/mid/long 三時程,對應技術債償還
開發計畫(Plan) P0/P1/P2 + 每項驗收條件(DoD)
技術債(Tech-Debt) 經兩階段對抗驗證的技術債清單

快速事實

  • MERN full-stack:根 server.jsunified server,同時服務 Express API(/api/*)與 Vite-built React SPA,單 process 單 port。
  • Backend:Express + MongoDB;掛載 route 為 casesFixed.js / statsFixed.js / education.js / tue.jsmodels/Case.js 以 WADA 物質分類(S0–S9 / M1–M3 / P1)+ text/compound index。
  • Frontend:React 19 + Vite + React Router v6 + Tailwind v3 + Chart.js;頁面多為 React.lazy 懶載。
  • 內容:案例資料庫(運動禁藥案例資料庫_完整清單.md 約 5,464 行為真實性來源)、TUE、禁用清單、互動測驗。
  • 部署:Zeabur(multi-stage Dockerfile、/api/health 健康檢查、非 root 執行)。

⚠️ 教育用途平台;案例資料須經 案例真實性確認清單.md 流程查核。目前無單元/E2E 測試(唯一 tooling 是 frontend ESLint)。

Clone this wiki locally