{"id":23296304,"url":"https://github.com/doublechaintech/nice-router","last_synced_at":"2026-05-10T02:50:29.494Z","repository":{"id":105737585,"uuid":"219470450","full_name":"doublechaintech/nice-router","owner":"doublechaintech","description":"第0适合后端程序员的前端小程序开发框架","archived":false,"fork":false,"pushed_at":"2020-03-12T04:59:55.000Z","size":10795,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-13T01:49:29.748Z","etag":null,"topics":["dva","react","react-native","taro"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doublechaintech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-11-04T10:03:43.000Z","updated_at":"2021-06-26T02:59:24.000Z","dependencies_parsed_at":"2023-06-13T12:30:49.475Z","dependency_job_id":null,"html_url":"https://github.com/doublechaintech/nice-router","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublechaintech%2Fnice-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublechaintech%2Fnice-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublechaintech%2Fnice-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doublechaintech%2Fnice-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doublechaintech","download_url":"https://codeload.github.com/doublechaintech/nice-router/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247543531,"owners_count":20955865,"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":["dva","react","react-native","taro"],"created_at":"2024-12-20T07:11:24.138Z","updated_at":"2026-05-10T02:50:29.455Z","avatar_url":"https://github.com/doublechaintech.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# nice-router\n\n第0适合后端程序员的前端小程序开发框架。\n\n多端统一开发体验。\n\n满足前端页面驱动和后端路由驱动的需求。\n\n给予后端开发页面控制权（方便实现客CS程序的千人千面，业务变更）。\n\n[nice-router-taro](https://github.com/doublechaintech/nice-router-taro)\n\n\n[nice-router-react-native](https://github.com/doublechaintech/nice-router-react-native)  (暂未开源, 稍等片刻)\n\n\n\n#### 目标功能\n\n- [x] 全局的NavigationService: 基础配置完成以后，随地享用\n- [x] 无脑执行Action，支持不同的schema: 后端控制的页面跳转，H5 Webview, 静态前端页面跳转 \n- [x] 前台路由驱动开发方式，例如点击button先跳转页面，再在didmount的时候，发送请求获取数据\n- [x] 后端路由，可渐进式缓存为前端路由，例如后端请求和前端路由同时发起\n- [x] 传递统一参数，语义化请求类型，支持 ajax, get, post, post form, navigate\n- [ ] 并行请求，归并结果save2Store。扩展属性 + transformer\n- [x] 基础版model可被代码复写（客户化定制）\n- [x] 标准分页处理\n- [x] 服务端控制消息（Toast处理）\n- [x] 服务端控制popup(带action)\n- [x] 请求结果缓存, hash校验更新(需要后端支持)\n- [x] API认证接口，兼容登录，退出的场景（处理token和session问题）\n- [ ] 静态的global配置 + 远程的global配置\n- [ ] 异常日志上报\n- [ ] 多请求可被中断\n- [ ] 支持RX\n- [ ] 生命周期接口，分为公共和私有，onStart, onSuccess, onFail, onComplete,\n- [x] 统一的异常处理，断网以及服务端异常\n- [x] 路由请求重放（断网重放）, 部分路由支持失败自动重连\n- [x] ServiceImage， 依赖于AliyunOSS的一个图片组件\n- [x] Listof 支持\n- [x] GenericPage 支持\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoublechaintech%2Fnice-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoublechaintech%2Fnice-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoublechaintech%2Fnice-router/lists"}