{"id":16860499,"url":"https://github.com/webpro/react-redux-demo","last_synced_at":"2026-02-27T02:31:38.209Z","repository":{"id":35834507,"uuid":"40117601","full_name":"webpro/react-redux-demo","owner":"webpro","description":"Fun Fair","archived":false,"fork":false,"pushed_at":"2015-08-15T10:31:21.000Z","size":136,"stargazers_count":30,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T09:18:38.035Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/webpro.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}},"created_at":"2015-08-03T09:53:26.000Z","updated_at":"2021-05-07T14:08:38.000Z","dependencies_parsed_at":"2022-09-24T13:45:00.204Z","dependency_job_id":null,"html_url":"https://github.com/webpro/react-redux-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webpro/react-redux-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Freact-redux-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Freact-redux-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Freact-redux-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Freact-redux-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webpro","download_url":"https://codeload.github.com/webpro/react-redux-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Freact-redux-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29883101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-13T14:24:57.950Z","updated_at":"2026-02-27T02:31:38.160Z","avatar_url":"https://github.com/webpro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React + Redux + React-Router demo\n\n## Introduction\n\nSince I got excited about the React + Redux combo, I've tried it out on a current project. It was working well for me,\nso I've extracted relevant parts out into this demo.\n\nThis demo application represents a \"fun fair\" (amusement park) with two daily shifts (morning and afternoon), while each\nshift has a group of semaphores to indicate the queue length (of people waiting for the attraction).\nThe semaphores are updated automatically server-side (just polling every 5 seconds in this demo), but employees can\n also change the state of a semaphore by clicking on it and submitting the form.\n\n## JS stack\n\n* ES6, Webpack, Babel\n* React 0.14.0-beta1 + Redux 1.0.0 + React-router 1.0.0-beta3\n* [fetch](https://github.com/github/fetch)\n* [classnames](https://github.com/JedWatson/classnames)\n* Lodash + [babel-plugin-lodash](https://github.com/megawac/babel-plugin-lodash)\n\n## CSS stack\n\n* SASS (node-sass)\n* PureCSS\n* PostCSS + Autoprefixer\n\n## Features\n\n* Async actions (i.e. XHRs)\n* Middleware\n    * [redux-thunk](https://github.com/gaearon/redux-thunk)\n    * [redux-logger](https://github.com/fcomb/redux-logger)\n    * Custom \"api\" middleware for XHRs\n    * Custom \"throttle\" middleware\n* Basic development/production toggle\n    * `__DEV__`: react-hot-loader, logger middleware\n    * Non-`__DEV__`: optimize with UglifyJS\n* CSS is compiled separately\n\n## Development\n\n    npm install\n    npm run dev\n\nGo to [http://localhost:8080/public](http://localhost:8080/public).\n\n## Production build\n\n    npm run build\n\nFind build at `./build/bundle.js`.\n\n## TODO\n\n* Improve on applying Redux architecture\n* Better error handling\n* Input validation\n* Better config options\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebpro%2Freact-redux-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebpro%2Freact-redux-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebpro%2Freact-redux-demo/lists"}