前端新增: - 订单管理: order-api.ts + use-orders.ts + 订单列表页 + 订单详情页 (7测试) - 通知中心: notification-api.ts + use-notifications.ts + 通知列表页 + 偏好设置页 (9测试) - 用户管理: user-api.ts + use-users.ts + 用户管理页优化 (8测试) - 侧边栏导航更新: 8个中文菜单项,子路径高亮 - 修复api.ts缺少apiClient命名导出的bug 后端新增: - UserService测试: 24个用例 (100%语句覆盖) - UserController测试: 10个用例 (100%语句覆盖) - NotificationService测试: 31个用例 (98%语句覆盖) - TemplateService测试: 29个用例 (100%语句覆盖) - PreferenceService测试: 29个用例 (100%语句覆盖) 历史测试修复: - 修复uuid ESM兼容性问题 (moduleNameMapper + mock) - 修复sharp ESM兼容性问题 (jest.mock + import default) - 修复payment-channel.service.spec.ts断言缺少where参数 - 添加express mock解决Jest解析问题 全量测试: 后端331通过 + 前端30通过 = 361个测试全部通过 |
||
|---|---|---|
| .. | ||
| e2e | ||
| public | ||
| src | ||
| .gitignore | ||
| Dockerfile | ||
| README.md | ||
| components.json | ||
| eslint.config.mjs | ||
| next.config.ts | ||
| package.json | ||
| playwright.config.ts | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| postcss.config.mjs | ||
| tsconfig.json | ||
| vitest.config.ts | ||
README.md
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.