- 新增 .gitignore、ARCHITECTURE.md 项目基础设施文件 - 新增前后端路由对接文档,完整映射前端页面到后端 API 端点 - 配置前端 Vitest 测试框架,添加 API/Store/Utils/Components 单元测试 - 添加后端 UserService 单元测试 - 新增统一测试运行脚本 scripts/run-tests.sh - 清理旧文档和过期覆盖率报告文件 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
20 lines
364 B
YAML
Executable File
20 lines
364 B
YAML
Executable File
# configs/config.yaml
|
|
server:
|
|
port: 8080
|
|
mode: "debug"
|
|
read_timeout: 30
|
|
write_timeout: 30
|
|
|
|
database:
|
|
host: "127.0.0.1"
|
|
port: 3307
|
|
user: "root"
|
|
password: "password"
|
|
dbname: "myapp"
|
|
max_open_conns: 100
|
|
max_idle_conns: 10
|
|
reset_database: true
|
|
|
|
jwt:
|
|
secret: "2Jkh4BdL6TVURttUEXlMeyD7rCLCkVvwdzPnddEIBRs="
|
|
expire_hours: 24 |