{"id":22407509,"url":"https://github.com/imlinhanchao/cashflow","last_synced_at":"2025-03-17T07:12:12.383Z","repository":{"id":186620268,"uuid":"628771485","full_name":"imlinhanchao/cashflow","owner":"imlinhanchao","description":"🪙 个人消费交易记录管理分析网站","archived":false,"fork":false,"pushed_at":"2024-09-10T14:05:47.000Z","size":2134,"stargazers_count":73,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T08:08:29.579Z","etag":null,"topics":["alipay","cashflow","echarts","wepay"],"latest_commit_sha":null,"homepage":"https://s.hancel.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imlinhanchao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-17T00:15:30.000Z","updated_at":"2025-01-08T06:36:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"d63822d1-f5c2-4149-9237-dfc3cdd06241","html_url":"https://github.com/imlinhanchao/cashflow","commit_stats":null,"previous_names":["imlinhanchao/crashflow","imlinhanchao/cashflow"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imlinhanchao%2Fcashflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imlinhanchao%2Fcashflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imlinhanchao%2Fcashflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imlinhanchao%2Fcashflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imlinhanchao","download_url":"https://codeload.github.com/imlinhanchao/cashflow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243989729,"owners_count":20379648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alipay","cashflow","echarts","wepay"],"created_at":"2024-12-05T11:14:37.174Z","updated_at":"2025-03-17T07:12:12.359Z","avatar_url":"https://github.com/imlinhanchao.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://s.hancel.org\"\u003e\n    \u003cimg width=\"200\" src=\"./front/src/assets/icons/logo.svg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eCashflow 钱哪儿去了\u003c/h1\u003e\n\n个人消费交易记录管理分析网站应用，通过同步微信与支付宝对账单，管理个人消费交易数据。\n\n🌐 [API 文档](https://cashflow.apifox.cn/) | 🤩 [在线体验](https://s.hancel.org) (测试账号：demo 密码：demo_admin)\n\n## ✨ 功能\n\n- [x] 🔁 对账单数据同步；\n- [x] 🔎 多维度数据查询；\n- [x] 📄 对账单数据导出；\n- [x] 📈 自定义图表统计分析；\n\n## 🐞 开发调试\n\n``` bash\n# 安装后端依赖\nnpm install\n\n# 安装前端依赖\ncd front \u0026\u0026 npm install\n\n# 运行前端\nnpm run dev\n\n```\n\nvscode 按下 F5 运行调试后端或运行 `npm run start`\n\n\n## 🔨 编译发布\n\n1. 编译生成  \n``` bash\n# 安装后端依赖\nnpm install\n\n# 安装前端依赖\ncd front \u0026\u0026 npm install\n\n# 回到后端目录\ncd ..\n\n# 编译生成运行文件，输出到 dist 目录\nnpm run build\n\n```\n\n2. 发布部署  \n  将 `package.json` 和  `dist` 目录发布到服务器，运行 `npm install` 安装依赖，运行 `node dist/main.js` 启动服务。  \n  启动服务后，访问 `http://localhost:7894` 即可。可以通过环境变量 `PORT` 修改端口。\n\n3. 配置服务  \n  首次访问需配置服务，包含数据库信息，安全配置和管理员密码。  \n  ![](./assets/config.webp)\n\n可以通过 PM2 以守护进程方式启动：\n  \n``` bash\nnpm install pm2 -g\npm2 start -n cashflow node -- dist/main.js\n```\n\n## 👀 界面\n\n![](./assets/preview.webp)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimlinhanchao%2Fcashflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimlinhanchao%2Fcashflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimlinhanchao%2Fcashflow/lists"}