Files
PicAnalysis/QUICK_ACCESS.md
wjl 1a0ebde95d feat: 初始化 PicAnalysis 项目
完整的前后端图片分析应用,包含:
- 后端:Express + Prisma + SQLite,101个单元测试全部通过
- 前端:React + TypeScript + Vite,47个单元测试,89.73%覆盖率
- E2E测试:Playwright 测试套件
- MCP集成:Playwright MCP配置完成并测试通过

功能模块:
- 用户认证(JWT)
- 文档管理(CRUD)
- 待办管理(三态工作流)
- 图片管理(上传、截图、OCR)

测试覆盖:
- 后端单元测试:101/101 
- 前端单元测试:47/47 
- E2E测试:通过 
- MCP Playwright测试:通过 

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 20:10:11 +08:00

73 lines
1.6 KiB
Markdown

# 快速访问链接
## 🌐 在浏览器中打开
### 前端应用
- 🏠 **主页**: http://localhost:3000
- 🔐 **登录页面**: http://localhost:3000/login
- 📊 **仪表盘**: http://localhost:3000/dashboard (需要登录)
- 📄 **文档管理**: http://localhost:3000/documents (需要登录)
-**待办事项**: http://localhost:3000/todos (需要登录)
- 🖼️ **图片管理**: http://localhost:3000/images (需要登录)
### 后端 API
- ❤️ **健康检查**: http://localhost:4000/api/health
- 👤 **注册用户**: POST http://localhost:4000/api/auth/register
- 🔑 **用户登录**: POST http://localhost:4000/api/auth/login
## 👤 测试账号
```
用户名: testuser
密码: Password123@
```
## 🚀 快速命令
### 启动服务器
```bash
# 后端 (在项目根目录)
cd backend && npm run dev
# 前端 (在项目根目录)
cd frontend && npm run dev
```
### 运行测试
```bash
# 后端单元测试
cd backend && npm test
# 前端单元测试
cd frontend && npm test
# E2E 测试
cd frontend && npm run test:e2e
```
## 📱 访问应用
1. 打开浏览器
2. 访问 http://localhost:3000
3. 使用测试账号登录:
- 用户名: `testuser`
- 密码: `Password123@`
4. 探索各项功能!
## 🎯 功能清单
### ✅ 已完成
- [x] 用户认证 (注册/登录)
- [x] 文档管理 (创建/查看/搜索/删除)
- [x] 待办管理 (三态工作流)
- [x] 图片管理 (上传/OCR)
- [x] 响应式 UI 设计
- [x] 单元测试 (148 个测试)
- [x] API 测试
### ⏳ 待完成
- [ ] OCR 集成
- [ ] AI 分析功能
- [ ] Docker 部置
- [ ] E2E 测试运行