{"id":16837200,"url":"https://github.com/ankeetmaini/react-hn","last_synced_at":"2025-03-18T03:21:18.743Z","repository":{"id":66149414,"uuid":"92962849","full_name":"ankeetmaini/react-hn","owner":"ankeetmaini","description":"react-hn","archived":false,"fork":false,"pushed_at":"2017-09-21T12:36:09.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-24T10:29:48.510Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://react-hn-ankeetmaini.now.sh","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/ankeetmaini.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-31T15:49:45.000Z","updated_at":"2017-09-24T10:34:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a3701b8-9f60-4f36-bb1d-0aeefe4ceba6","html_url":"https://github.com/ankeetmaini/react-hn","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/ankeetmaini%2Freact-hn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankeetmaini%2Freact-hn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankeetmaini%2Freact-hn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankeetmaini%2Freact-hn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankeetmaini","download_url":"https://codeload.github.com/ankeetmaini/react-hn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244147343,"owners_count":20405942,"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-13T12:16:30.285Z","updated_at":"2025-03-18T03:21:18.737Z","avatar_url":"https://github.com/ankeetmaini.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## running\n```\nnpm install\nnpm start\n```\n\nif you're building it for the first time you'll get this error\n`Error: ENOENT: no such file or directory` which is because `index.html` doesn't exist.\n\nCalm down and do `./node_modules/.bin/webpack \u0026\u0026 npm run start`\n\n## global styles - whose classnames are not changed by post-css\n- app can have at most one global stylesheet\n- add the file at the root of the app, and name it `\u003capp-name\u003e-global-styles.css`\n- you can declare variables file for specifying color variables. name your file in this manner and all will run smooth `variables.scss` in your app\n\n## to do\n- [x] babel setup\n- [x] eslint \u0026 prettier\n- [x] webpack 2 setup (webpack config created)\n  - [x] dev and prod setup\n  - [x] most loaders\n  - [x] most plugins\n  - [x] entry/output paths\n- [ ] code splitting with bundle-loader\n- [x] node server.js\n- [x] index template file\n- [ ] HMR\n- [x] dev middleware\n- [x] add resolvers\n- [ ] Figure out how to use import/no-unresolved eslint rule with the resolver\n\n## how to code?\n\n### styles\n - you can have two types of styles, global stylesheets for your app, or localized modules.\n - always prefer modules\n - [read more about them here](http://javascriptplayground.com/blog/2016/07/css-modules-webpack-react/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankeetmaini%2Freact-hn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankeetmaini%2Freact-hn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankeetmaini%2Freact-hn/lists"}