{"id":21842110,"url":"https://github.com/jypblue/react-redux-kit","last_synced_at":"2026-04-13T04:04:05.006Z","repository":{"id":83609500,"uuid":"65729788","full_name":"jypblue/react-redux-kit","owner":"jypblue","description":"Koa build app with react redux and react-router(include code division and  load-on-demand）","archived":false,"fork":false,"pushed_at":"2016-08-18T05:39:32.000Z","size":142,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-07T21:43:56.026Z","etag":null,"topics":["koa","react","redux","webpack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/jypblue.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":"2016-08-15T12:13:32.000Z","updated_at":"2017-06-06T14:01:13.000Z","dependencies_parsed_at":"2023-07-08T20:01:17.675Z","dependency_job_id":null,"html_url":"https://github.com/jypblue/react-redux-kit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jypblue/react-redux-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jypblue%2Freact-redux-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jypblue%2Freact-redux-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jypblue%2Freact-redux-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jypblue%2Freact-redux-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jypblue","download_url":"https://codeload.github.com/jypblue/react-redux-kit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jypblue%2Freact-redux-kit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31739050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T03:27:07.512Z","status":"ssl_error","status_checked_at":"2026-04-13T03:26:53.610Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["koa","react","redux","webpack"],"created_at":"2024-11-27T22:10:13.325Z","updated_at":"2026-04-13T04:04:04.979Z","avatar_url":"https://github.com/jypblue.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-redux-kit\nReact,Redux单页应用脚手架\n\n本项目工程利用了最新的前端技术，基于webpack提供代码热加载，css模块with sass，单元测试，代码分割，按需加载等。\n\n本项目工程采用koa启动webpack打包生成的页面,利用react,redux,react-router构建工程组件，路由系统。\n\n觉得不错的话，请Star一下本项目，这是对作者最大的支持。\n\n## 技术栈\n* [react](https://github.com/facebook/react)\n* [redux](https://github.com/rackt/redux)\n* [react-router](https://github.com/rackt/react-router)\n* [react-router-redux](https://github.com/rackt/react-router-redux)\n* [webpack](https://github.com/webpack/webpack)\n* [babel](https://github.com/babel/babel)\n* [koa](https://github.com/koajs/koa)\n* [eslint](http://eslint.org)\n\n## 需求配置\n* node `^6.0.0`\n* history `2.0.0`\n\n## 开始\n\n确认好你的环境配置，然后就可以开始以下步骤。\n\n```\n$ git clone https://github.com/jypblue/react-redux-kit.git\n$ cd react-redux-kit\n$ npm install            # 安装本地工程依赖包\n$ npm run dev            # 启动开发模式\n```\n\n开发中会用到的命令：\n\n|`npm run \u003cscript\u003e`|解释|\n|------------------|-----------|\n|`dev`|服务启动在3003端口，代码热替换开启。|\n|`build`|编译程序到dist目录下（默认目录~/dist）。|\n|`release`| 启动服务器，查看release版本代码情况。|\n|`test`|开启mocha测试|\n\n## 项目目录\n\n```\n├── gulpfile.js               # gulp任务配置\n├── package.json              # 项目配置\n├── README.md                 # 项目说明\n├── server                    # 本地server\n│   ├── app.js                # 本地server\n├── src                       # 源码目录\n│   ├── index.html            # 入口文件\n│   ├── css/                  # css文件夹\n│   ├── fonts/                # 字体文件\n│   ├── img/                  # 图片文件夹\n│   ├── static/               # favicon.ico\n│   ├── js                    # js\u0026jsx文件夹\n│   │   ├── index.jsx         # 单页入口js/jsx文件\n│   │   ├── action/\t\t\t   # Action Creators文件夹：存放可以触发的action函数\n│   │   ├── components/       # React展示组件文件夹\n│   │   ├── constants/        # Action 大写字符串描述事件\n│   │   ├── containers/       # 容器文件夹：存放容器组件\n│   │   ├── reducers/         # reducers文件夹：存放action的处理器reducers\n│   │   ├── store/            # store文件夹\n│   │   └── utils/            # 前端路由文件夹\n│   ├── scss/                 # scss文件夹\n├── test                      # 测试代码目录\n├── webpack-build.config.js   # webpack基本配置\n├── webpack.config.js         # 正式环境webpack配置入口\n└── webpack-dev.config.js     # 开发环境webpack配置入口\n```\n\n\n## 服务端\n\n这个项目的服务端使用Koa。需要注意的是，只有一个目的那就是提供了`webpack-dev-middleware` 和 `webpack-hot-middleware`（代码热替换）\n\n## 打包\n\n利用require.ensure做到拆分模块包，按需加载。\n在生产环境下，webpack会导出一个压缩的css文件以及多个压缩的Javascript组件模块，并把js模块优化到最好的性能。\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjypblue%2Freact-redux-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjypblue%2Freact-redux-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjypblue%2Freact-redux-kit/lists"}