Files
Artveris/README.md
T

48 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# artveris 艺术品可信溯源与认证系统
基于"一物一码、首次激活、多次查询"的艺术品全生命周期溯源与认证平台。
## 技术栈
- 后端:Node.js + NestJS + Prisma + MySQL + Redis + BullMQ
- 后台:Vue3 + Vite + Naive UI
- C 端:uni-app(Vue3)+ wot-design-uni(H5 / 小程序)
- 全栈 TypeScript,pnpm monorepo
## 目录
```
apps/api 后端服务(NestJS)
apps/admin 后台管理(Vue3 + Naive UI)
apps/h5 C 端溯源页(uni-app)
packages/shared 共享类型/枚举/错误码/常量
docker 本地依赖与全栈编排
docs PRD 与技术方案
```
## 快速开始(开发)
```bash
# 1. 安装依赖
pnpm install
# 2. 启动 MySQL + Redis
pnpm db:up
# 3. 构建共享包
pnpm build:shared
# 4. 初始化数据库(在 apps/api 下)
pnpm --filter @artveris/api prisma:migrate
pnpm --filter @artveris/api seed
# 5. 分别启动
pnpm dev:api # 后端 http://localhost:3000
pnpm dev:admin # 后台 http://localhost:5173
pnpm dev:h5 # C 端 http://localhost:5174
```
默认超级管理员账号见 `.env`(`SEED_ADMIN_USERNAME` / `SEED_ADMIN_PASSWORD`)。
更多说明在交付阶段补充。