{"id":15504769,"url":"https://github.com/alanbsmith/bem-experiment","last_synced_at":"2025-03-28T18:44:24.811Z","repository":{"id":78447853,"uuid":"103863284","full_name":"alanbsmith/bem-experiment","owner":"alanbsmith","description":null,"archived":false,"fork":false,"pushed_at":"2017-09-19T23:51:38.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T19:34:21.261Z","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/alanbsmith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":null,"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":"2017-09-17T21:28:52.000Z","updated_at":"2017-09-17T21:30:10.000Z","dependencies_parsed_at":"2023-04-22T17:46:05.102Z","dependency_job_id":null,"html_url":"https://github.com/alanbsmith/bem-experiment","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/alanbsmith%2Fbem-experiment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Fbem-experiment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Fbem-experiment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Fbem-experiment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alanbsmith","download_url":"https://codeload.github.com/alanbsmith/bem-experiment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246083088,"owners_count":20720909,"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-10-02T09:19:55.295Z","updated_at":"2025-03-28T18:44:24.792Z","avatar_url":"https://github.com/alanbsmith.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Router + Node Starter\n_for [Heroku](https://www.heroku.com/) deployment_\n\n### OVERVIEW\nThis is a simple starter to get you up and running for React Router projects. This is intended to provide:\n\n* a lightweight Webpack config (for development and production)\n* some helpful tooling for development workflow\n* a similar setup to what you'll see in the wild\n* Heroku-ready deployment setup\n\n### UP \u0026 RUNNING\n* Install dependencies\n`$ npm install` or `$ yarn`\n\n* Fire up a development server:\n* `$ npm run dev`\n\nOnce the server is running, you can visit `http://localhost:8080/`\n\n### Linting\n_This assumes you have eslint and eslint-watch installed. If you don't, run the following:_\n```\n$ npm i -g eslint eslint-watch\n```\nor if you need permissions:\n```\n$ sudo npm i -g eslint eslint-watch\n```\n\nTo run the linter once:\n```\n$ npm run lint\n```\n\nTo run the watch task:\n```\n$ npm run lint:watch\n```\n\n### Testing\nTo run the tests:\n```\n$ npm test\n```\n\nTo run the watch task:\n```\n$ npm run test:watch\n```\n\n### Production Build\nTo build your production assets and run the server:\n```\n$ npm start\n```\n\n### CHANGELOG\n**v1.0.0**\nThis app has been updated to use React v15.5 and Webpack 2.3! 🎉\n\nMajor Changes:\n* Updates React and ReactDOM to v15.5\n* Updates Webpack to v2.3\n* Enables hot-reloading for local development\n* Adds initial test suite with Enzyme, Expect, and Mocha\n\nMinor Changes:\n* Updates all other dependencies to latest\n* Updates eslint rules\n* Updates npm scripts\n* Refactors server.js\n* Updates README\n\n### DEPLOYING TO HEROKU\nThis app is set up for deployment to Heroku!\n\n_This assumes you have already have a Heroku account and have the [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli) installed_\n```\n$ heroku login\n$ heroku create -a name-of-your-app\n$ git push heroku master\n$ heroku open\n```\n\n#### _NOTE_\n_If you're using npm5+, heroku doesn't like having two `.lock` files present. So if you have a `package.json.lock` and a `yarn.lock` file, you'll need to  put one in your `.gitignore`, or remove one._\n\nHeroku will follow the `build` command in your `package.json` and compile assets with `webpack.prod.config.js`. It runs the Express web server in `server.js`.\n\nIf you're unfamiliar with Heroku deployment (or just need a refresher), they have a really great walkthrough [here](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction).\n\n### REACT + NODE STARTER\nIf you don't need the router, this is another small starter I built: https://github.com/alanbsmith/react-node-example\n\n### REDUX STARTER\nIf you're looking for a similar, minimalistic Redux starter, I would recommend Marc Garreau's [here](https://github.com/marcgarreau/redux-starter)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanbsmith%2Fbem-experiment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falanbsmith%2Fbem-experiment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanbsmith%2Fbem-experiment/lists"}