- database.ts 改为按 DB_TYPE 切换 SQLite / MariaDB(mysql2),sqlite3 按需动态导入 - index.ts 改为初始化数据库后再监听端口 - 新增 AuthService / HealthService / AnalysisService / GarminService - 新增 .gitignore、server/.env(忽略) 与 .env.example - README 增加数据库配置说明;package.json 增加 mysql2/@types
30 lines
295 B
Plaintext
30 lines
295 B
Plaintext
# Dependencies
|
|
node_modules/
|
|
|
|
# Env (contains secrets - never commit)
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Local SQLite data
|
|
data/
|
|
*.db
|
|
*.sqlite
|
|
*.sqlite3
|
|
|
|
# Build output
|
|
dist/
|
|
build/
|
|
|
|
# Logs
|
|
logs/
|
|
*.log
|
|
|
|
# OS / editor
|
|
.DS_Store
|
|
.idea/
|
|
.vscode/
|
|
|
|
# WorkBuddy tool state (not project code)
|
|
.workbuddy/
|