尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Nx event stack — C-end portal + ops CMS + shared OpenAPI (labelled demo).
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Event + commerce integration on Nx — C-end portal, React ops CMS, Nest API, auth/LIFF.
Planning SSOT: private platform-command (planning/projects/nx-playground.md). This README is how-to.
Local run:docs/EVENT-STACK-DEMO.md. Hosted:docs/HOSTED-DEMO.md.
Angular / Vue live in angular-dashboard-sandbox and vue-motion-sandbox (canonical after mirror inversion). Design tokens: explore-design-sdk.
Taiwan event product slice in one Nx repo: public C-end (Next.js) + organizer CMS (React) + shared OpenAPI + Nest/Prisma spine.
| Proof | Honest bound |
|---|---|
| Hosted C-end | https://nx-event-portal.vercel.app/zh-TW/events — exhibition catalog. Hobby memory fixtures when that host is healthy; otherwise same-origin portal BFF. |
| Contracts | Same OpenAPI for mock and Nest; Orval client for events. |
| Not claimed | Hosted Nest + Postgres is the catalog write path, not a payments API. |
Interview second case after AI Search Portal. Do not describe Hobby mock as production money API.
產品路徑(請優先跑這些):
/api/docs)其餘 leftover(profile、mobile-approvals)仍在 apps/,轉型完成前不加功能。
Vue / Angular 鏡像已移到 labs/(legacy — do not extend)。Nx imports:apps/angular-dashboard(angular-dashboard-sandbox,對齊本 repo Angular 20.3.3)、apps/vue-motion(vue-motion-sandbox)、apps/mfe-host + apps/mfe-ui(micro_frontends 的 Nx Module Federation 重做)。
make setup # 安裝依賴並設置環境
# 產品路徑
make dev-event-portal # Event Portal :3000
make dev-event-cms # Event CMS :3002
make dev-api # Nest live API :3001
make dev-auth # Auth :3004
# 契約 mock(可取代 Nest;CMS POST 後 Portal GET 看得到)
make dev-api-mock # :3011
# then: NEXT_PUBLIC_API_BASE_URL=http://localhost:3011/api VITE_API_BASE_URL=http://localhost:3011/api
# Seed fixtures into SQLite (live Nest)
make seed
| 命令 | 說明 |
|---|---|
make setup | 首次設置開發環境 |
make dev | 啟動產品路徑服務 |
make dev-event-portal | 啟動 Event Portal 服務 |
make dev-event-cms | 啟動 Event CMS 服務 |
make dev-api | 啟動 Nest API |
make dev-api-mock | 啟動契約 mock |
make dev-auth | 啟動 Auth |
make stop | 停止所有服務 |
make logs | 查看日誌 |
make help | 查看產品路徑命令 |
nx-playground/
├── apps/ # 應用程式
│ ├── api-server/ # 🔧 API Server (NestJS 10, Port 3001)
│ ├── api-mock/ # 🧪 event-stack mock (Port 3011)
│ ├── auth/ # 🔐 認證服務 (React + Vite, Port 3004)
│ ├── event-cms/ # 📊 活動 CMS (React + Vite, Port 3002)
│ ├── event-portal/ # 🎫 展覽探索 + LINE (Next.js 15, Port 3000)
│ ├── profile/ # 🎯 技術展示 (React + Vite, Port 3003) — no new features
│ ├── mobile-approvals/ # leftover — no new features
│ ├── angular-dashboard/ # Angular ops sandbox import (Port 4200)
│ ├── vue-motion/ # Vue motion sandbox import (Port 8080)
│ ├── mfe-host/ # Module Federation host (Port 5173)
│ └── mfe-ui/ # Module Federation remote (Port 5174)
├── labs/ # archived Vue / Angular mirrors — see labs/README.md
├── libs/ # 共享函式庫
│ ├── api-client/ # API 客戶端 (React Query + Orval)
│ ├── auth-client/ # 認證客戶端 (SSO 整合)
│ ├── charts/ # 圖表庫 (Recharts + Chart.js)
│ ├── design-system/ # 設計系統 (Style Dictionary)
│ ├── hooks/ # React Hooks (usehooks-ts + custom)
│ ├── i18n/ # 國際化 (i18next + next-intl)
│ └── ui-components/ # UI 組件庫 (Radix UI + Tailwind)
├── templates/ # 專案模板
│ └── react-template/ # React 專案快速建立模板
├── scripts/ # 自動化腳本
└── docs/ # 文檔
labs/ holds archived mirrors)使用 React 模板快速建立新的應用:
# 方式 1: 使用腳本(推薦)
./scripts/create-react-app.sh my-new-app 3005
./scripts/finish-setup.sh my-new-app 3005
# 方式 2: 手動複製
cp -r templates/react-template apps/my-new-app
# 然後手動更新配置文件
# 啟動新專案
pnpm dev:my-new-app
pnpm build:safe # 構建所有專案
pnpm build:affected # 只構建受影響的專案
nx build <project-name> # 構建單一專案
pnpm test # 執行所有測試
pnpm test:watch # 監聽模式
pnpm test:coverage # 生成覆蓋率報告
pnpm test:affected # 只測試受影響的專案
pnpm lint # 檢查所有專案
pnpm lint:fix # 自動修復
pnpm lint:affected # 只檢查受影響的專案
nx graph # 查看專案依賴圖
nx affected:build # 只構建受影響的專案
nx affected:test # 只測試受影響的專案
nx reset # 清除 Nx 快取