核心功能: - 记账CRUD(支出/收入/分类/备注/日期) - 统计分析(概览/分类占比/每日趋势) - 预算管理(按月设置/进度条/超支提醒) - 数据导出CSV 安全与认证: - HMAC-SHA256签名token认证 - 用户数据隔离 - 输入验证与错误处理 - CORS配置 前端优化: - 骨架屏加载 - 账单按日期分组 - 预算页面重构(快捷预设+Numpad) - SvgIcon组件(H5+微信双端适配) - 下拉刷新 后端优化: - 共享日期工具函数 - 数据库连接池优化 - 健康检查端点 - 优雅关闭处理 技术栈: - 前端:Uni-app (Vue 3 + Pinia) - 后端:Node.js + Express + MySQL
13 lines
233 B
Plaintext
13 lines
233 B
Plaintext
# Server
|
|
PORT=3000
|
|
|
|
# MySQL
|
|
DB_HOST=your_mysql_host_here
|
|
DB_USER=your_mysql_user_here
|
|
DB_PASSWORD=your_mysql_password_here
|
|
DB_NAME=your_mysql_name_here
|
|
|
|
# WeChat Mini Program
|
|
WX_APPID=your_wx_appid_here
|
|
WX_SECRET=your_wx_secret_here
|