@heiso-io/bee

Cell Application
Kernel

Bee 是 Heiso 一系列垂直應用(cells)共用的核心。auth、權限、portal、UI、 資料層、i18n 一次包好,每個 cell 只專注自己的領域邏輯。

The Cell Metaphor

一個 kernel,多個 cells

每個 xxx-bee 是一個獨立的應用 cell, 各自處理一個垂直領域;bee 提供共通的細胞核心(auth / dashboard / db / UI), cells 之間 schema 隔離,但行為一致。

customs-beeYOU ARE HERE
報關通
海運報關作業系統、HS Code 庫、客戶與案件管理
cms-bee
內容管理
頁面、檔案、權限給內容站台用
erp-bee
ERP(規劃中)
進銷存、會計、報表
What Bee Provides

細胞核裡有什麼

Auth & 權限
NextAuth + 多角色 / 自訂 role / membership / staff bootstrap
Dashboard Layout
OrgLayout + sidebar + header,cell 只給 menus 設定就接上
Drizzle + Postgres
per-tenant DB、auth/permissions/files schemas 預設建好
shadcn UI Kit
Button / Card / Table / Dialog / Form 等,semantic token 一致
Server actions
auth() + db 直接用,"use server" 一行接上
i18n / Theme
next-intl 多語、zh-TW / zh-CN / en,dark mode 內建
This Cell — customs-bee

報關通:海運報關 + AI HS Code

給中小報關行用的作業系統。海關進口稅則 12,680 筆已 seeded、AI 智能查詢、 客戶 / 案件 / 文件 OCR 一站式管理。