{"id":17339486,"url":"https://github.com/lubien/koa-react-redux-universal-boilerplate","last_synced_at":"2025-04-14T18:43:23.405Z","repository":{"id":112974348,"uuid":"59049942","full_name":"lubien/koa-react-redux-universal-boilerplate","owner":"lubien","description":"[Unmaintained] A fullstack Koa + React + Redux Universal Boilerplate to speed up your development process.","archived":false,"fork":false,"pushed_at":"2016-06-03T12:56:48.000Z","size":159,"stargazers_count":22,"open_issues_count":5,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T07:11:25.426Z","etag":null,"topics":["koa","react","redux","server-side-rendering","webpack"],"latest_commit_sha":null,"homepage":"https://koa-react-boilerplate.herokuapp.com/","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/lubien.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-05-17T18:51:00.000Z","updated_at":"2022-06-30T06:42:36.000Z","dependencies_parsed_at":"2023-03-10T15:45:20.083Z","dependency_job_id":null,"html_url":"https://github.com/lubien/koa-react-redux-universal-boilerplate","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/lubien%2Fkoa-react-redux-universal-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lubien%2Fkoa-react-redux-universal-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lubien%2Fkoa-react-redux-universal-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lubien%2Fkoa-react-redux-universal-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lubien","download_url":"https://codeload.github.com/lubien/koa-react-redux-universal-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248938654,"owners_count":21186445,"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":["koa","react","redux","server-side-rendering","webpack"],"created_at":"2024-10-15T15:41:55.548Z","updated_at":"2025-04-14T18:43:23.383Z","avatar_url":"https://github.com/lubien.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Koa React Redux Universal Boilerplate\n\nA fullstack Koa + React + Redux Universal Boilerplate to speed up your development process.\n\nAt first was just a simple boilerplate for my next projects on [FreeCodeCamp](https://www.freecodecamp.com), but that escalated quickly.\n\n## Features\n\n* Koa 2 supporting `async-await` with Babel.\n* Redux.\n* React.\n* React Router\n* Universal rendering.\n* Redux Devtools\n* Dirty deeds done dirt cheap.\n\n## Getting Started\n\nCopy `.env.sample` to `.env` and edit as you need.\n\n### Development\n\nFor development, you just need `MONGO_URL` and `GITHUB_CLIENT_(ID|SECRET)` env vars.\n\nRun `npm run dev-server` and `npm run dev-client` in separate terminals so you'll the Koa and Webpack servers.\n\nDev-server uses `nodemon` to restart the server everytime you change some server stuff. Webpack does the same on the client, so no need to `F5` your life.\n\nNow you can open `http://localhost:3000/`.\n\nFor a better experience, use [zalmoxisus/redux-devtools-extension](https://github.com/zalmoxisus/redux-devtools-extension#implementation) so you can see Redux's current state.\n\n### Production\n\nWe are using `babel-node` and `webpack-dev-server` for development, but they are a no go for production. The solution was simple: build everything. We build our server into a `build/` folder and our client to `public/scripts/bundle.js`.\n\nThe build is made right after `npm install` so, let's say you use a PaaS like Heroku. After each commit the system will be rebuilt. Awesome ;)\n\nTwo important env vars you should look are `BASE_URL` and `SUPPORT_HTTPS`. `BASE_URL` uses the model `https://example.com` (no stripe at end). Why? Github auth callback needs your URL match exactly in both your server and in your app Github's config. `SUPPORT_HTTPS` is a bool value.\n\n## License\n\n[MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flubien%2Fkoa-react-redux-universal-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flubien%2Fkoa-react-redux-universal-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flubien%2Fkoa-react-redux-universal-boilerplate/lists"}