https://github.com/imlinhanchao/cashflow
🪙 个人消费交易记录管理分析网站
https://github.com/imlinhanchao/cashflow
alipay cashflow echarts wepay
Last synced: 2 months ago
JSON representation
🪙 个人消费交易记录管理分析网站
- Host: GitHub
- URL: https://github.com/imlinhanchao/cashflow
- Owner: imlinhanchao
- License: mit
- Created: 2023-04-17T00:15:30.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-10T14:05:47.000Z (8 months ago)
- Last Synced: 2025-03-04T08:08:29.579Z (3 months ago)
- Topics: alipay, cashflow, echarts, wepay
- Language: TypeScript
- Homepage: https://s.hancel.org
- Size: 2.04 MB
- Stars: 73
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Cashflow 钱哪儿去了
个人消费交易记录管理分析网站应用,通过同步微信与支付宝对账单,管理个人消费交易数据。
🌐 [API 文档](https://cashflow.apifox.cn/) | 🤩 [在线体验](https://s.hancel.org) (测试账号:demo 密码:demo_admin)
## ✨ 功能
- [x] 🔁 对账单数据同步;
- [x] 🔎 多维度数据查询;
- [x] 📄 对账单数据导出;
- [x] 📈 自定义图表统计分析;## 🐞 开发调试
``` bash
# 安装后端依赖
npm install# 安装前端依赖
cd front && npm install# 运行前端
npm run dev```
vscode 按下 F5 运行调试后端或运行 `npm run start`
## 🔨 编译发布
1. 编译生成
``` bash
# 安装后端依赖
npm install# 安装前端依赖
cd front && npm install# 回到后端目录
cd ..# 编译生成运行文件,输出到 dist 目录
npm run build```
2. 发布部署
将 `package.json` 和 `dist` 目录发布到服务器,运行 `npm install` 安装依赖,运行 `node dist/main.js` 启动服务。
启动服务后,访问 `http://localhost:7894` 即可。可以通过环境变量 `PORT` 修改端口。3. 配置服务
首次访问需配置服务,包含数据库信息,安全配置和管理员密码。
可以通过 PM2 以守护进程方式启动:
``` bash
npm install pm2 -g
pm2 start -n cashflow node -- dist/main.js
```## 👀 界面
