Skip to content

架构概览 ​

系统组成 ​

后端服务 ​

包框架职责
@hugo-saas/databasePrisma + SQLite共享 Schema、迁移、Seed 数据
@hugo-saas/identity-serviceNestJS (REST)Demo 账户切换,模拟不同角色权限场景
@hugo-saas/admin-bffKoa + GraphQL管理后台 API:组织、用户、成员、角色、活动日志
@hugo-saas/entitlement-serviceNestJS (REST + GraphQL)产品目录、授权、Seat 分配、批量导入

前端技术栈对照 ​

项目框架UI 组件库状态管理API 风格
hugo-saas-consoleReact + TypeScript@hugo-ui/mui (MUI + Emotion)Module Federation 拆分GraphQL
hugo-entitlement-consoleVue 3 + TypeScript@hugo-ui/shadcn-vue (Tailwind)Pinia + TanStack Vue QueryGraphQL + REST
hugo-entitlement-importer-desktopElectron + Vue 3@hugo-ui/shadcn-vue (Tailwind)PiniaREST

Hugo SaaS System - 企业级多租户SaaS产品体系