healthapp
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
dark 58e71ebcef test: 添加 Playwright 自动化测试脚本 2 days ago
TODOS feat: 完善前后端 API 集成与错误处理 3 days ago
app@f17111e186 chore: 更新前端子模块与服务端代码 2 days ago
files/ui first commit 3 days ago
scripts first commit 3 days ago
server fix(server): 修复健康模型 ID 字段 JSON 序列化 2 days ago
tests test: 添加 Playwright 自动化测试脚本 2 days ago
web first commit 3 days ago
.gitignore first commit 3 days ago
README.md first commit 3 days ago
agents.md first commit 3 days ago
ai-agent-prompt.md feat: 完善前后端 API 集成与错误处理 3 days ago
design.md first commit 3 days ago
mall-design.md first commit 3 days ago
start-app.bat first commit 3 days ago
start-app.sh first commit 3 days ago
start.bat first commit 3 days ago
start.sh first commit 3 days ago

README.md

健康AI助手 - 原型项目

基于中医体质辨识理论的智能健康咨询平台原型。

快速启动

Windows 用户: 双击项目根目录的 start.bat 文件,选择要启动的服务。

或者分别启动:

# 启动 Web 原型
cd web && npm run dev

# 启动 APP 原型
cd app && npx expo start

测试账号

  • 手机号: 13800138000
  • 验证码: 123456

项目结构

healthApps/
├── web/                    # Web 原型 (Vue 3 + Vite)
├── app/                    # APP 原型 (React Native + Expo)
├── server/                 # 后端服务 (Go + Gin)
├── scripts/                # 启动脚本
│   ├── start-web.bat
│   ├── start-app.bat
│   └── start-all.bat
├── start.bat               # 主启动入口
├── design.md               # 项目设计文档
└── TODOS/                  # 开发任务文档

技术栈

项目 技术 端口
Web Vue 3 + TypeScript + Element Plus 5173
APP React Native + Expo + Paper 8081
后端 Go + Gin + SQLite 8080

功能模块

  • 用户登录 - 手机号验证码登录(模拟)
  • 首页 - 体质概览、快捷入口、健康提示
  • 体质测试 - 20道问卷,本地计算体质类型
  • AI问答 - 模拟AI健康咨询对话
  • 个人中心 - 用户信息、健康档案

原型说明

当前版本为原型演示版,使用本地模拟数据:

  • 登录验证:模拟验证
  • 体质测试:本地计算
  • AI对话:关键词匹配模拟回复
  • 数据存储:localStorage / AsyncStorage

后续开发

参考 TODOS/ 目录下的开发文档进行后端对接。