feat: 初始化前端和后端项目
- 创建前端项目结构,包括 Vue 3、Uni-app 等相关配置 - 添加后端项目结构,使用 Express 和 TypeORM 连接数据库 - 实现基本的体重记录 CRUD 功能 - 配置项目相关文件,如 .gitignore、.npmrc 等
This commit is contained in:
18
server/ormconfig.json
Normal file
18
server/ormconfig.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"type": "mysql",
|
||||
"host": "192.168.25.110",
|
||||
"port": 3306,
|
||||
"username": "root",
|
||||
"password": "mysql_Adkijc",
|
||||
"database": "kuafu_health",
|
||||
"synchronize": true,
|
||||
"logging": false,
|
||||
"entities": ["entity/**/*.js"],
|
||||
"migrations": ["migration/**/*.js"],
|
||||
"subscribers": ["subscriber/**/*.js"],
|
||||
"cli": {
|
||||
"entitiesDir": "entity",
|
||||
"migrationsDir": "migration",
|
||||
"subscribersDir": "subscriber"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user