docs: 更新后端文档

- 更新 api/README.md
- 更新 api/docs/本地开发环境配置.md
- 更新 api/docs/测试脚本使用说明.md

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
iammm0
2026-02-12 13:33:19 +08:00
parent a261d9da27
commit 4fa2bd6f0f
3 changed files with 7 additions and 7 deletions

View File

@@ -37,8 +37,8 @@ SECRET_KEY=your-secret-key
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=120
# 数据库
DATABASE_URL=sqlite+aiosqlite:///./life_echo.db
# 数据库(使用 PostgreSQL与线上一致
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/life_echo
```
### 3. 启动服务器