尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Nx + React monorepo for the StockKart inventory web app. Domains live under core/*, shared UI under ui-kit, platform infra under platform/*, and vertical extras under plugins/*.
inventory-platform/
├── apps/inventory/ # App shell: providers, route composer, env
├── platform/ # Infra only (no business UI)
├── ui-kit/ # Design system (primitives + chrome patterns)
├── core/ # Domain modules (api, queries, pages, routes, nav)
├── plugins/ # Vertical plugins (e.g. cafe) + registry
└── docs (repo root) # ../docs_stockkart/FRONTEND_MONOREPO_REDESIGN.html
| Layer | Package examples | May depend on |
|---|---|---|
| App | @inventory-platform/inventory | everything |
| Plugins | plugin-cafe, plugin-registry | platform, ui-kit, contracts, selected core public APIs |
| Core domains | product, accounting, user, … | platform, ui-kit, contracts |
| Platform | shell, session, api-client, query, … | ui-kit (shell), contracts |
| ui-kit | @inventory-platform/ui-kit | nothing in core/platform (presentation only) |
pnpm install
pnpm nx dev inventory
Docker (frontend + API + Mongo):
cp .env-example .env
docker-compose up
pnpm nx dev inventory # Vite / React Router app
pnpm nx build inventory
pnpm nx lint <project>
pnpm nx typecheck <project>
pnpm nx storybook ui-kit
pnpm nx graph # dependency graph
| Concern | Package |
|---|---|
| Dashboard layout, nav, toasts, help | platform/shell |
| Auth session, shop, capabilities | platform/session |
| HTTP client | platform/api-client |
| TanStack Query setup | platform/query |
| Vertical schema fields | platform/schema |
| Buttons, forms, chrome CSS maps | ui-kit |
| Scan & sell, stock, returns | core/product |
| Login / onboarding / shops / CRM | core/user |
| Cafe menu / ingredient stock | plugins/cafe |
Box, Stack, Button, Link, FormField) over raw HTML.Button variant="solid". Marketing CTAs: variant="brand".*Chrome export from ui-kit (shellChrome, journeyChrome, chartChrome, productChrome, accountingChrome, …).core/*/queries; avoid new Zustand stores for server state.routes.ts + nav.ts; the app/registry composes them.Shop/product UIs render API-driven vertical fields (no hardcoded pharmacy-only forms). Schema sources and surfaces are documented historically in older notes; canonical runtime code lives in platform/schema + platform/session (useVerticalSchemaStore).
After API seed changes to vertical_schemas, restart/reseed the API so the UI picks up new labels.
core/, platform/, ui-kit/, plugins/