{"id":19214320,"url":"https://github.com/fullstackreact/react-gen-generator","last_synced_at":"2025-05-12T22:20:58.683Z","repository":{"id":57248566,"uuid":"59861660","full_name":"fullstackreact/react-gen-generator","owner":"fullstackreact","description":"Generator for the yelp-clone template format","archived":false,"fork":false,"pushed_at":"2016-08-06T03:56:29.000Z","size":47,"stargazers_count":17,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T19:37:00.784Z","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/fullstackreact.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":"2016-05-27T20:30:40.000Z","updated_at":"2021-03-04T13:55:57.000Z","dependencies_parsed_at":"2022-08-24T16:50:20.714Z","dependency_job_id":null,"html_url":"https://github.com/fullstackreact/react-gen-generator","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/fullstackreact%2Freact-gen-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullstackreact%2Freact-gen-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullstackreact%2Freact-gen-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullstackreact%2Freact-gen-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fullstackreact","download_url":"https://codeload.github.com/fullstackreact/react-gen-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253831215,"owners_count":21971051,"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":[],"created_at":"2024-11-09T14:09:36.249Z","updated_at":"2025-05-12T22:20:58.659Z","avatar_url":"https://github.com/fullstackreact.png","language":"JavaScript","readme":"# Generate a starting point for your react app\n\nThe `react-gen` generator is a yeoman generator that creates an app using the same structure detailed in the the [blog post detailing cloning yelp with React](http://fullstackreact.com/articles/react-tutorial-cloning-yelp/).\n\nUsing this generator gives you a sane react structure with the following technologies:\n\n* Webpack with hot module reloading (hjs-webpack)\n* PostCSS and CSS modules, including autoprefixer, precss\n* Global CSS loading\n* React / ReactDOM\n* react-router\n* Nested routing with multiple views\n* Testing with karma, mocha, chai\n* React component testing helper enzyme\n* Multiple deployment environments with dotenv configuration\n* Babel with react, stage-0, and es2015\n* font-awesome\n* and more\n\n## Installation\n\nFirst, install [Yeoman](http://yeoman.io) and generator-react-gen using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).\n\n```bash\nnpm install -g yo\nnpm install -g generator-react-gen\n```\n\nThen generate your new project, answer some questions about your project, and go!\n\n```bash\nyo react-gen\n```\n\n## Workflow\n\nOpen your app in a text editor and start to work. To run the application, use the `npm start` script. This will boot a server with hot module reloading:\n\n```bash\nnpm run start\n```\n\nTo run the tests in our app, we can use the `npm run test` script. This sets up enzyme, boots the tests with karma, and executes them:\n\n```bash\nnpm run test\n```\n\nAs we're writing tests, sometimes it's just easier to run the tests as we update and edit files. The generator makes this easy using the `npm run test:watch` script. Run this command and then any changes to the files in our project will cause the tests to be run:\n\n```bash\nnpm run test:watch\n```\n\nTo build the app for distribution, we can use the `npm run build` command:\n\n```bash\nnpm run build\n```\n\n## Features\n\nWanna add redux to the mix? No problem, pass the feature flag of `--redux` when calling generate, i.e.:\n\n```bash\nyo react-gen --redux\n```\n\nThe `--redux` flag will also install the [redux-devtools](https://github.com/gaearon/redux-devtools), hidden by default. Pressing the combination of `Ctrl+h` will make them visible.\n\n## Contributing\n\n```shell\ngit clone https://github.com/fullstackreact/redux-modules.git\ncd redux-modules\nnpm install\nnpm start\n```\n___\n\n# Fullstack React Book\n\n\u003ca href=\"https://fullstackreact.com\"\u003e\n\u003cimg align=\"right\" src=\"https://github.com/fullstackreact/google-maps-react/raw/master/resources/readme/fullstack-react-hero-book.png\" alt=\"Fullstack React Book\" width=\"155\" height=\"250\" /\u003e\n\u003c/a\u003e\n\nThis generator was built alongside the blog post [React Tutorial: Cloning Yelp](https://www.fullstackreact.com/articles/react-tutorial-cloning-yelp/).\n\nThis repo was written and is maintained by the [Fullstack React](https://fullstackreact.com) team. In the book, we cover many more projects like this. We walk through each line of code, explain why it's there and how it works.\n\n\u003cdiv style=\"clear:both\"\u003e\u003c/div\u003e\n\n## License\n [MIT](/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffullstackreact%2Freact-gen-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffullstackreact%2Freact-gen-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffullstackreact%2Freact-gen-generator/lists"}