{"id":14976445,"url":"https://github.com/kimjuny/koa-react-universal","last_synced_at":"2025-10-27T20:31:13.493Z","repository":{"id":23850158,"uuid":"99993725","full_name":"kimjuny/koa-react-universal","owner":"kimjuny","description":"lightweight React-Koa2 universal boilerplate, only what is essential","archived":false,"fork":false,"pushed_at":"2022-02-12T03:46:30.000Z","size":1274,"stargazers_count":111,"open_issues_count":22,"forks_count":21,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-01T08:02:27.291Z","etag":null,"topics":["boilerplate","code-splitting","hmr","isomorphic","koa","react","react-router-v4","redux-thunk","ssr","universal","webpack3"],"latest_commit_sha":null,"homepage":"https://kimjuny.github.io/koa-react-universal/","language":"JavaScript","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/kimjuny.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}},"created_at":"2017-08-11T05:09:59.000Z","updated_at":"2024-07-08T08:39:56.000Z","dependencies_parsed_at":"2022-07-27T04:17:24.512Z","dependency_job_id":null,"html_url":"https://github.com/kimjuny/koa-react-universal","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimjuny%2Fkoa-react-universal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimjuny%2Fkoa-react-universal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimjuny%2Fkoa-react-universal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimjuny%2Fkoa-react-universal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kimjuny","download_url":"https://codeload.github.com/kimjuny/koa-react-universal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238553055,"owners_count":19491367,"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":["boilerplate","code-splitting","hmr","isomorphic","koa","react","react-router-v4","redux-thunk","ssr","universal","webpack3"],"created_at":"2024-09-24T13:53:53.886Z","updated_at":"2025-10-27T20:31:08.170Z","avatar_url":"https://github.com/kimjuny.png","language":"JavaScript","readme":"# Koa React Universal\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/kimjuny/koa-react-universal.svg)](https://greenkeeper.io/)\n[![Build Status](https://travis-ci.org/kimjuny/koa-react-universal.svg?branch=master)](https://travis-ci.org/kimjuny/koa-react-universal)\n[![Code Climate](https://codeclimate.com/github/kimjuny/koa-react-universal/badges/gpa.svg)](https://codeclimate.com/github/kimjuny/koa-react-universal)\n[![Test Coverage](https://codeclimate.com/github/kimjuny/koa-react-universal/badges/coverage.svg)](https://codeclimate.com/github/kimjuny/koa-react-universal/coverage)\n\n\u003e koa2、react、react-universal-component、koa-webpack-server、async/await、code-splitting、hot-module-replacement、react-router4、redux-thunk\n\nThis project is dedicated to build \u003cb\u003esimple yet powerful\u003c/b\u003e Koa-React-Universal boilerplate.\n\n\u003cb\u003eLess is More:\u003c/b\u003e All key ingredients are in `src/development`、`src/production` and webpack configurations, easy to understand、set-up and extend. We promise to use the most recent \u0026 official packages(as much as we can), no weird or tricky stuffs, keeping this project \u003cb\u003eclean and fully customizable\u003c/b\u003e.\n\n\u003cb\u003eFully functional:\u003c/b\u003e HMR for client and server side, code splitting for both javascript and css, async/await universal programming support for koa2 server-side and redux-thunk client-side...\n\n\u003cb\u003eUniversal:\u003c/b\u003e We are using [react-universal-component](https://github.com/faceyspacey/react-universal-component)、[webpack-flush-chunks](https://github.com/faceyspacey/webpack-flush-chunks). It simplifies \u003cb\u003euniversal\u003c/b\u003e development with \u003cb\u003ecode-splitting\u003c/b\u003e(js、css) and is also compatible with the latest react-router-v4.\n\n\u003cb\u003eProduction:\u003c/b\u003e We are using webpack to build client(target: web) and server(target: node).\n\n\u003cb\u003eDevelopment:\u003c/b\u003e We are using [koa-webpack-server](https://github.com/kimjuny/koa-webpack-server) (which simplifies development env set-ups), it also webpacks client and server(with client \u0026 server hot-load), so we can stay as much as the same with production.\n\n### Screenshots\n\nDEMO: Search Github Repositories.\n\n\u003e Noted: Github search API has [Rate Limitation](https://developer.github.com/v3/search/#rate-limit) of 10 reqs/min (without credentials).\n\n![record](https://github.com/kimjuny/koa-react-universal/blob/master/docs/record.gif)\n\n### Components\n\n* koa2\n* react\n* react-router4\n* redux-thunk\n* react-universal-component\n* es2015 + async/await\n* less、postcss(autoprefixer)\n* webpack\n* koa-webpack-server\n* webpack-flush-chunks\n* axios\n* ejs\n* jest\n* eslint(airbnb)\n* docker\n* wallaby\n\n### Roadmap\n\n* graphql(Github API v3 -\u003e v4)\n* flow\n* enzyme\n* immutable\n* vendor\n\n### Start\n\n#### Prerequisites\n\ndevelopment\n\n* yarn / npm\n* node ≥ 7.0\n\nproduction\n\n* docker ≥ 1.13\n\n#### Production\n\n```\nyarn prod\n```\n\nor with docker\n\n```\ndocker build -t koa-react-universal .\ndocker run -d -p 3006:3006 koa-react-universal\n```\n\n#### Development\n\n```\nyarn dev\n```\n\n#### Test\n\n```\nyarn test\n```\n\nalso supports [wallaby.js](https://wallabyjs.com/) live test reports [view](http://wallabyjs.com/app/#/files)\n\n```\nCMD + SHIFT + R -\u003e R (vscode)\n```\n\n### License\n\n[MIT](https://github.com/kimjuny/koa-react-universal/blob/master/LICENSE)\n\n### Contributing\n\nIssues are welcome :)\n\nPRs are welcome (if you can help to make things more concise and simple!).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimjuny%2Fkoa-react-universal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkimjuny%2Fkoa-react-universal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimjuny%2Fkoa-react-universal/lists"}