Ecommerce Template
Next.js·React 등으로 만든 최신 전자상거래 템플릿
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기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 快取