{"id":16296361,"url":"https://github.com/kornil/simple-redux-app","last_synced_at":"2025-03-20T04:31:18.415Z","repository":{"id":57360762,"uuid":"100391451","full_name":"Kornil/simple-redux-app","owner":"Kornil","description":"Simple base app using react, redux, react-router v4, hot-reload \u0026 sass.","archived":false,"fork":false,"pushed_at":"2018-01-19T19:11:27.000Z","size":300,"stargazers_count":22,"open_issues_count":0,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-14T11:56:37.157Z","etag":null,"topics":["boilerplate","enzyme","eslint","hot-reload","jest","react","react-router-v4","redux","sass","yarn"],"latest_commit_sha":null,"homepage":null,"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/Kornil.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-15T15:26:40.000Z","updated_at":"2024-04-07T13:31:39.000Z","dependencies_parsed_at":"2022-09-06T21:41:26.279Z","dependency_job_id":null,"html_url":"https://github.com/Kornil/simple-redux-app","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/Kornil%2Fsimple-redux-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kornil%2Fsimple-redux-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kornil%2Fsimple-redux-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kornil%2Fsimple-redux-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kornil","download_url":"https://codeload.github.com/Kornil/simple-redux-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244552380,"owners_count":20471065,"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","enzyme","eslint","hot-reload","jest","react","react-router-v4","redux","sass","yarn"],"created_at":"2024-10-10T20:22:16.013Z","updated_at":"2025-03-20T04:31:18.029Z","avatar_url":"https://github.com/Kornil.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-redux-app\nSimple base app with react, redux, react-router v4, hot-reload \u0026amp; sass.\n\n## What is this\nThis is a base project that you can use to jumpstart your react \u0026 redux apps.\nIt includes the last react \u0026 redux spec as of today 19/01/2018, and uses react-router v4 to handle routes.\nStyle is handles by sass/scss.\nnb: this is just front end, you can use whatever backend language you are most confortable with.\n\n## How to install\nYou can use both npm or yarn, the version I used to create this project are:\n\n```\n$ node -v ; npm -v ; yarn -v\nv8.8.1\n5.4.2\n1.2.1\n```\nIf you just freshly installed yarn/npm you are good to go, else you might need to upgrade, for npm I use `n`\n\n```\nnpm install -g n\n```\nto install it and after that select at least the stable version (what I used).\n\n```\nn stable\n```\n\nand now you have the latest stable version of node\u0026npm.\n\n\n`npm i -g simple-redux-app` to install this package globally, from there you will be able to jumpstart as many boilerplates as you wish.\n\n\n`simple-redux-app folderName` to create a react boilerplate on the `folderName` folder. By default all dependencies are already installed, just `cd folderName` and start hacking.\n\n\n`yarn start`/`npm start` to start dev server with hot reload, it's live on `localhost:3000`.\n\n\n`yarn run build`/`npm run build` to build prod bundle, it includes both treeshaking and uglify to optimize the code as much as possible.\n\n\n`yarn test`/`npm test` run the tests with Jest and Enzyme, by default the test included only check for the correct render of base components \u0026 routes, all are passing.\n\n\n## Tests\n\nThe testing environment is written in Jest and Enzyme.\nThe included tests are basic and only check the proper render of base components (snapshot), routes and redux actions + reducer.\nWhile still fairly simple, the default tests are easy to manage and expand, providing a smoother curve into testing with JavaScript, React, and Redux. If you haven't used snapshot testing before, I'd suggest to read the [Jest documentation about them](https://facebook.github.io/jest/docs/snapshot-testing.html).\n\n\n## Eslint\n\nThis project uses AirBnB Javascript specs so you can write error-free react and javasctipt code, if you use Visual Studio Code, you can install eslint from the extension tab to activate this function, other editors just google _name of the editor + eslint_ you will find how to enable it for your editor.\n\n## How to contribute\n\nI wrote a [small guide](https://medium.com/@francesco.agnoletto/how-to-not-f-up-your-local-files-with-git-part-1-e0756c88fd3c) on how to contribute and the common etiquette to follow.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkornil%2Fsimple-redux-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkornil%2Fsimple-redux-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkornil%2Fsimple-redux-app/lists"}