feat: 初始化前端和后端项目

- 创建前端项目结构,包括 Vue 3、Uni-app 等相关配置
- 添加后端项目结构,使用 Express 和 TypeORM 连接数据库
- 实现基本的体重记录 CRUD 功能
- 配置项目相关文件,如 .gitignore、.npmrc 等
This commit is contained in:
2025-04-19 19:31:33 +08:00
commit 47306782a8
18 changed files with 483 additions and 0 deletions

15
server/package.json Normal file
View File

@@ -0,0 +1,15 @@
{
"name": "kuafu-health-backend",
"version": "1.0.0",
"main": "app.js",
"scripts": {
"start": "node app.js"
},
"dependencies": {
"express": "^4.17.1",
"body-parser": "^1.19.0",
"mysql2": "^2.3.3",
"reflect-metadata": "^0.1.13",
"typeorm": "^0.2.45"
}
}