{"id":24628142,"url":"https://github.com/gavinbirkhoff/react-umi-admin","last_synced_at":"2025-05-07T20:05:45.720Z","repository":{"id":223135174,"uuid":"759388077","full_name":"GavinBirkhoff/react-umi-admin","owner":"GavinBirkhoff","description":"基于react18，umi4，antd5等的中后台管理模版，可以快速开展我们的业务功能。","archived":false,"fork":false,"pushed_at":"2025-02-03T06:12:20.000Z","size":20686,"stargazers_count":11,"open_issues_count":31,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T20:03:17.558Z","etag":null,"topics":["admin","react18","umi4"],"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/GavinBirkhoff.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,"zenodo":null}},"created_at":"2024-02-18T13:09:01.000Z","updated_at":"2025-04-17T08:08:44.000Z","dependencies_parsed_at":"2024-03-10T10:20:51.018Z","dependency_job_id":"b4b1c9cb-1b69-45dd-9906-fb3b0f0d2d59","html_url":"https://github.com/GavinBirkhoff/react-umi-admin","commit_stats":null,"previous_names":["gavinbirkhoff/react-umi-admin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GavinBirkhoff%2Freact-umi-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GavinBirkhoff%2Freact-umi-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GavinBirkhoff%2Freact-umi-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GavinBirkhoff%2Freact-umi-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GavinBirkhoff","download_url":"https://codeload.github.com/GavinBirkhoff/react-umi-admin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252949272,"owners_count":21830151,"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":["admin","react18","umi4"],"created_at":"2025-01-25T05:14:23.343Z","updated_at":"2025-05-07T20:05:45.713Z","avatar_url":"https://github.com/GavinBirkhoff.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-umi-admin\n\n正在制作中，敬请期待，点赞收藏不迷路，每天都会更新，直至完成第一版。然后会添加更多功能，但是更新频率会减慢，敬请期待。\n\n基于 react18，umi4，antd5 等的中后台管理模版，可以快速开展我们的业务功能。\n\n## 适用场景\n\n1. 快速开发中后台管理系统，不必要为技术选型和封装模块而浪费精力和时间，而且不需要其他业务代码。\n2. 当很多功能我们需要自己实现，所以这套项目只实现架构部分和用户登陆鉴权。市面功能太多的项目反而不利于我们快速开发。（ 通常我们需要研究很久，还要删除大部分内容。 而且前后端两套项目很难解耦。后面我会实现更多的功能包括配套的后台系统，不会放到这个项目下，会给传送门。）\n\n## 功能清单\n\n- [x] 支持多环境配置 [#33](https://github.com/GavinBirkhoff/react-umi-admin/issues/33) [#15](https://github.com/GavinBirkhoff/react-umi-admin/issues/15)\n- [ ] 主题定制和管理 [#24](https://github.com/GavinBirkhoff/react-umi-admin/issues/24)\n- [ ] 自定义布局 Layout 和菜单\n- [ ] 用户登录鉴权\n- [x] 网络请求模块 基于 axios [#32](https://github.com/GavinBirkhoff/react-umi-admin/issues/32)\n- [x] 请求方案 [#6](https://github.com/GavinBirkhoff/react-umi-admin/issues/6)\n- [x] 系统异常处理\n- [ ] 权限管理\n- [x] UI 组件库 这里集成 antd5.x [#4](https://github.com/GavinBirkhoff/react-umi-admin/issues/4)\n- [ ] 数据流\n- [x] 国际化(多语言) 在`~src/locales`支持国际化定义 [#7](https://github.com/GavinBirkhoff/react-umi-admin/issues/7)\n- [x] Mock 本地数据模拟 `~mock/` 里的文件都会自动加载 [#8](https://github.com/GavinBirkhoff/react-umi-admin/issues/8) MOCK_ENABLED 开启/关闭功能\n- [ ] 路由 以及 keepalive\n- [ ] 路由数据加载\n- [x] 本地代理 [#34](https://github.com/GavinBirkhoff/react-umi-admin/issues/34)\n- [x] 编码规范以及`git`提交验证 [#12](https://github.com/GavinBirkhoff/react-umi-admin/issues/12)\n- [x] 工程代码调试 [#13](https://github.com/GavinBirkhoff/react-umi-admin/issues/13)\n- [ ] 测试\n- [ ] 样式管理方案 [#17](https://github.com/GavinBirkhoff/react-umi-admin/issues/17)\n- [x] Typescript 全面支持\n- [ ] OpenApi\n- [x] 微生成器 [#35](https://github.com/GavinBirkhoff/react-umi-admin/issues/35) Umi 中内置了众多微生成器，协助你在开发中快速地完成一些繁琐的工作。\n- [ ] 开发插件\n- [ ] MPA 模式\n- [ ] 打包构建优化\n- [ ] 生产环境部署\n- [ ] 微前端\n- [ ] 站点统计\n\n## 开发环境\n\npnpm\n\nnode\n\nvscode\n\n## 弃用功能\n\n- @umijs/max，黑盒比较严重，后期项目修改扩展成本太大。\n- @ant-design/pro-components 的 ProLayout 太重了，一般情况都和设计效果有出路。\n\n## 其他技术栈\n\n- react-vite-admin 开发中\n- next-admin 开发中\n- nest-admin 后端 开发中\n- java-admin 后端 开发中\n\n## 后台数据\n\n- 目前后台数据都在`~/mock`下，这里是基于 express 启动的本地 api 服务。\n- 这样就可以很灵活的做好前端部分，然后灵活的对接一个后端服务。\n\n## 启动项目\n\n```bash\npnpm install\n\nnpm start\n```\n\n## 登陆页面\n\n登陆路径：/login 登陆账号：admin 登陆密码：123456\n\n![login](./src/assets/snapshoot/screencapture-login.png)\n\n## 首页\n\n路径：/\n\n![dashboard](./src/assets/snapshoot/screencaptrue-dashboard.png)\n\n## 用户页面\n\n路径：/user\n\n![login](./src/assets/snapshoot/screencapture-user.png)\n\n## 打包分析\n\n```bash\nnpm run analyze\n```\n\n![analyze](./src/assets/snapshoot/screencapture-analyze.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinbirkhoff%2Freact-umi-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgavinbirkhoff%2Freact-umi-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinbirkhoff%2Freact-umi-admin/lists"}