{"id":23953849,"url":"https://github.com/sankeyangshu/cashbook-react","last_synced_at":"2026-05-15T22:33:12.018Z","repository":{"id":192505451,"uuid":"685814604","full_name":"sankeyangshu/cashbook-react","owner":"sankeyangshu","description":"🚀cashbook-react：基于 React18、React-Router V6、React-Hooks、Vite4、Zustand、React-Vant UI、Typescript、Echarts等主流技术开发的「记账本」APP","archived":false,"fork":false,"pushed_at":"2023-09-15T05:48:36.000Z","size":561,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-06T14:49:41.940Z","etag":null,"topics":["echarts","react","react-hooks","typescript","vant-ui"],"latest_commit_sha":null,"homepage":"","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/sankeyangshu.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-09-01T04:28:10.000Z","updated_at":"2024-03-23T13:51:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"a6323295-2dc4-40e0-a934-0557249aa179","html_url":"https://github.com/sankeyangshu/cashbook-react","commit_stats":null,"previous_names":["sankeyangshu/cashbook-react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sankeyangshu%2Fcashbook-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sankeyangshu%2Fcashbook-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sankeyangshu%2Fcashbook-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sankeyangshu%2Fcashbook-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sankeyangshu","download_url":"https://codeload.github.com/sankeyangshu/cashbook-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240457996,"owners_count":19804489,"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":["echarts","react","react-hooks","typescript","vant-ui"],"created_at":"2025-01-06T14:46:42.116Z","updated_at":"2026-05-15T22:33:06.998Z","avatar_url":"https://github.com/sankeyangshu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  cashbook-react\n\u003c/h1\u003e\n\u003ch4 align=\"center\"\u003eReact 实战：从 0 到 1 实现记账本\u003c/h4\u003e\n\n---\n\n## 简介\n\n**cashbook-react** 使用了最新的`React18`、`React-Router v6`、`React-Hooks`、`Vite4`、`Zustand`、`React Vant`、`Typescript`、`Echarts`等主流技术开发，集成了代码规范检查工具`Eslint`、`Prettier`、`Stylelint`。\n\n此项目涉及注册、登录、记账、统计、个人中心等等功能，记账本的基本功能都全部实现了，相信从 0 到 1 实现该项目，可以让你快速的上手 React Hooks，并且熟悉 React router 和 Zustand 数据持久化存储的操作，而且该项目使用了 Echarts，可以让你对数据可视化有个基本的了解和应用。\n\n本项目只是前端项目，不涉及任何后端接口服务开发，本项目所有数据接口均是 mock 数据\n\n**注 1：如果对您有帮助，您可以点右上角 \"Star\" 支持一下 谢谢！**\n\n**注 2：或者您可以 \"follow\" 一下，我会不断开源更多的有趣的项目**\n\n## 目标功能\n\n- [x] 新增账单 -- 完成\n- [x] 账单统计 -- 完成\n- [x] 账单详情页 -- 完成\n- [x] 登录、注册 -- 完成\n- [x] 账单图表统计 -- 完成\n\n## 项目运行\n\n```bash\n# 克隆项目\ngit clone https://github.com/sankeyangshu/cashbook-react.git\n\n# 进入项目目录\ncd cashbook-react\n\n# 安装依赖 - 推荐使用pnpm\npnpm install\n\n# 启动服务\npnpm dev\n\n# 打包发布\npnpm build\n```\n\n## 项目截图\n\n### 用户中心\n\n\u003cimg src=\"/media/user.png\" width=\"365\" height=\"619\"/\u003e \u003cimg src=\"/media/login.png\" width=\"365\" height=\"619\"/\u003e\n\n### 账单中心\n\n\u003cimg src=\"/media/list.png\" width=\"365\" height=\"619\"/\u003e \u003cimg src=\"/media/detail.png\" width=\"365\" height=\"619\"/\u003e\n\n### 统计中心\n\n\u003cimg src=\"/media/add.png\" width=\"365\" height=\"619\"/\u003e \u003cimg src=\"/media/data.png\" width=\"365\" height=\"619\"/\u003e\n\n## 如何贡献\n\n你可以[提一个 issue](https://github.com/sankeyangshu/cashbook-react/issues) 或者提交一个 Pull Request。\n\n**Pull Request:**\n\n1. Fork 代码\n2. 创建自己的分支: `git checkout -b feat/xxxx`\n3. 提交你的修改: `git commit -am 'feat(function): add xxxxx'`\n4. 推送您的分支: `git push origin feat/xxxx`\n5. 提交 `pull request`\n\n## Git 贡献提交规范\n\n- `feat`: 新增功能\n- `fix`: 修复 bug\n- `docs`: 文档变更\n- `style`: 代码格式（不影响功能，例如空格、分号等格式修正）\n- `refactor`: 代码重构（不包括 bug 修复、功能新增）\n- `perf`: 性能优化\n- `test`: 添加、修改测试用例\n- `build`: 构建流程、外部依赖变更（如升级 npm 包、修改 webpack 配置等）\n- `ci`: 修改 CI 配置、脚本\n- `chore`: 对构建过程或辅助工具和库的更改（不影响源文件、测试用例）\n- `revert`: 回滚 commit\n\n## 许可证\n\n[MIT License](https://github.com/sankeyangshu/cashbook-react/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsankeyangshu%2Fcashbook-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsankeyangshu%2Fcashbook-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsankeyangshu%2Fcashbook-react/lists"}