{"id":17790023,"url":"https://github.com/samrocksc/happy-react","last_synced_at":"2025-09-09T15:38:54.318Z","repository":{"id":69547985,"uuid":"69578646","full_name":"samrocksc/happy-react","owner":"samrocksc","description":"An easy react boiler-plate that should transcend most popular conventions.","archived":false,"fork":false,"pushed_at":"2016-10-31T18:00:53.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-09T12:56:17.183Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samrocksc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-29T15:01:34.000Z","updated_at":"2016-09-29T16:36:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"57153de1-7842-416b-8c8d-e0ecaf1e9c78","html_url":"https://github.com/samrocksc/happy-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samrocksc/happy-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrocksc%2Fhappy-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrocksc%2Fhappy-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrocksc%2Fhappy-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrocksc%2Fhappy-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samrocksc","download_url":"https://codeload.github.com/samrocksc/happy-react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrocksc%2Fhappy-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274319113,"owners_count":25263207,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"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-27T10:39:42.863Z","updated_at":"2025-09-09T15:38:54.231Z","avatar_url":"https://github.com/samrocksc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# happy-react\nA super easy way to scaffold a react app quickly with low barrier to entry.\n\n```\ngit clone git@github.com:samrocksc/happy-react.git\ncd happy-react\nnpm i\nnpm start\n```\n\n* Any component filename is going to be camelCased with the first letter uppercase.\n* `/src/index.js` is a single file setup.  Try to keep this to as few files as possible to prevent confusion during onboarding new developers.\n* `/src/Common` is a base file for anything that's generic to the project.  CSS etc.\n* You can also do sass loaders inside of common.\n* Folders in `/src` that are going to be Containers that hold a container and their components.  The container should be the only piece of the view that touches the store.\n* `/src/constants` is the location of all of the action names, so you can easily import and create new reducers quickly.\n* Redux Devtools built in![Redux Devtools Chrome Extension](https://github.com/zalmoxisus/redux-devtools-extension)\n\n## FAQ\n\n**Why did you make this**\nHonestly....I kept using boilerplate, and it was screwing me over because it had opinionated config files.  I wanted two things: short file depth(forget `../../.../` hell), and a single file config page I could watch the flow of my app be built in.\n\n**Why do you use two frontend libraries?**\nI use two frontend libraries because Stardust gives me a grid system that is easy to work with as well as a bootstrappy UI, and because Material-UI gives me the material design ability on the fly.  In a lot of projects now designers for some reason have decided that the two methodologies are superfluous.  This methodology allows me to cover all my frontend bases.\n\n**Why did you use one config folder?**\nOne config folder is easier, if you REALLY need to start making a lot of changes I could understand creating a `router.js`, but I would hold off on that until it was absolutely necessary.\n\n**Why don't you use multiple configs for Production and Development?**\nWhy would I?  If you need to control multiple environments, just create them to your specifications and then use `NODE_ENV` to control their loading.\n\n**Why do you use one Action File folder?**\n`/src/constants.js` is great because it's a single source of importing in all Reducers and makes error reporting that much less hard to understand.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamrocksc%2Fhappy-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamrocksc%2Fhappy-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamrocksc%2Fhappy-react/lists"}