项目结构
本页描述核心交付结构:apps/web、apps/admin 及 10 个后端 Worker。
核心目录布局
Section titled “核心目录布局”zship/├── apps/│ ├── web/ # 用户站(Astro + Vue)│ └── admin/ # 管理后台(Nuxt + Element Plus)├── backend/│ ├── node1-auth-service/ # 认证、用户、积分、API Key│ ├── node2-support-service/ # 工单、邮件、反馈│ ├── node3-pay-service/ # 支付、价格、Webhook│ ├── node4-notify-service/ # Bark、飞书、钉钉│ ├── node5-blog-service/ # 博客 CMS│ ├── node6-cdn-service/ # 文件上传、CDN│ ├── node7-site-service/ # Banner、友链、Waitlist│ ├── node8-prompt-service/ # Prompt 库│ ├── node9-checkin-service/ # 签到规则、奖励│ └── node10-ai-service/ # AI 网关、对话、会话├── packages/ # 共享包(核心交付使用)│ ├── dashboard/ # Dashboard 组件、品牌配置│ ├── backend-utils/ # Worker / 后台通用工具│ ├── blog-engine/ # 博客 Markdown 等│ ├── notify-utils/ # 通知相关工具│ └── nuxt-admin-layer/ # 管理后台 Nuxt 层└── scripts/ # Dev Console、部署脚本
后端服务(核心)
Section titled “后端服务(核心)”| 服务 | 目录 | 职责 |
|---|---|---|
| Auth | node1-auth-service | 登录、注册、用户、积分、API Key |
| Support | node2-support-service | 工单、反馈、邮件 |
| Pay | node3-pay-service | Stripe、Creem、价格、Webhook |
| Notify | node4-notify-service | 推送通知 |
| Blog | node5-blog-service | 博客 CMS |
| CDN | node6-cdn-service | 文件上传、存储 |
| Site | node7-site-service | Banner、友链、Waitlist |
| Prompt | node8-prompt-service | Prompt 模板 |
| Check-in | node9-checkin-service | 签到规则、奖励 |
| AI | node10-ai-service | AI 网关、多模型对话 |
增值服务(非核心)
Section titled “增值服务(非核心)”zship-provider1-service— AI 提供商网关(KIE、WaveSpeed AI),可单独购买apps/landing、apps/web-nuxt— 可选的营销站 / 替代前端
- 部署指南 — 部署核心栈