{"id":15503596,"url":"https://github.com/jounqin/react-hackernews","last_synced_at":"2025-08-08T18:55:25.988Z","repository":{"id":17308623,"uuid":"62028172","full_name":"JounQin/react-hackernews","owner":"JounQin","description":"HackerNews clone built with React, ReactRouter \u0026 Redux, with full page server-side rendering","archived":false,"fork":false,"pushed_at":"2025-04-09T19:05:00.000Z","size":6942,"stargazers_count":57,"open_issues_count":12,"forks_count":21,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-09T20:21:03.084Z","etag":null,"topics":["react","react-router","react-server-render","react-ssr","redux"],"latest_commit_sha":null,"homepage":"https://react-hn.1stg.me","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/JounQin.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},"funding":{"github":["JounQin","1stG","rx-ts","un-ts"],"patreon":"1stG","open_collective":"unts","custom":["https://opencollective.com/1stG","https://opencollective.com/rxts","https://afdian.net/@JounQin"]}},"created_at":"2016-06-27T05:39:29.000Z","updated_at":"2025-03-27T04:00:31.000Z","dependencies_parsed_at":"2023-10-12T08:14:16.885Z","dependency_job_id":"d88d3f55-0799-4ef9-b86e-95999b22aded","html_url":"https://github.com/JounQin/react-hackernews","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/JounQin%2Freact-hackernews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JounQin%2Freact-hackernews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JounQin%2Freact-hackernews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JounQin%2Freact-hackernews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JounQin","download_url":"https://codeload.github.com/JounQin/react-hackernews/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249114243,"owners_count":21215041,"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":["react","react-router","react-server-render","react-ssr","redux"],"created_at":"2024-10-02T09:14:06.942Z","updated_at":"2025-04-15T16:52:23.000Z","avatar_url":"https://github.com/JounQin.png","language":"JavaScript","funding_links":["https://github.com/sponsors/JounQin","https://github.com/sponsors/1stG","https://github.com/sponsors/rx-ts","https://github.com/sponsors/un-ts","https://patreon.com/1stG","https://opencollective.com/unts","https://opencollective.com/1stG","https://opencollective.com/rxts","https://afdian.net/@JounQin"],"categories":[],"sub_categories":[],"readme":"# react-hackernews\n\n[![Travis](https://img.shields.io/travis/com/JounQin/react-hackernews/master.svg)](https://travis-ci.com/JounQin/react-hackernews)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n\nHackerNews clone built with React, ReactRouter \u0026amp; Redux, with full page server-side rendering\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://react-hacknews.herokuapp.com\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    \u003cimg width=\"720\" alt=\"react-hackernews\" src=\"https://user-images.githubusercontent.com/8336744/45299799-387bba80-b53f-11e8-8ba1-d2a5b1d9f201.png\"\u003e\n    \u003cbr\u003e\n    Live Demo\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Features\n\n\u003e Note: in practice, it is unnecessary to code-split for an app of this size (where each async chunk is only a few kilobytes), nor is it optimal to extract an extra CSS file (which is only 1kb) -- they are used simply because this is a demo app showcasing all the supported features. In real apps, you should always measure and optimize based on your actual app constraints.\n\n- Server Side Rendering\n  - react + react-router + redux working together\n  - Server-side data pre-fetching\n  - Client-side state \u0026 DOM hydration\n  - Automatically inlines CSS used by rendered components only\n  - Preload / prefetch resource hints\n  - Route-level code splitting\n  - custom dynamic title for SEO\n- Progressive Web App\n  - App manifest\n  - Service worker\n  - 100/100 Lighthouse score\n- Experience\n  - Hot-reload in development\n  - CSS extraction for production\n\n## Inspired by\n\n[vue-hackernews-2.0](https://github.com/vuejs/vue-hackernews-2.0)\n\n[react-server-renderer](https://github.com/JounQin/react-server-renderer) / [vue-server-renderer](https://ssr.vuejs.org)\n\n[react-async-component](https://github.com/ctrlplusb/react-async-component) / [react-async-bootstrapper](https://github.com/ctrlplusb/react-async-bootstrapper)\n\n[react-style-loader](https://github.com/JounQin/react-style-loader) / [vue-style-loader](https://github.com/vuejs/vue-style-loader)\n\n## Architecture Overview\n\n\u003cimg width=\"973\" alt=\"screen shot 2016-08-11 at 6 06 57 pm\" src=\"https://cloud.githubusercontent.com/assets/499550/17607895/786a415a-5fee-11e6-9c11-45a2cfdf085c.png\"\u003e\n\n## Build Setup\n\n**Requires Node.js 7+**\n\n```bash\n# install dependencies\nnpm install # or yarn\n\n# serve in dev mode, with hot reload at localhost:4000\nyarn dev\n\n# build for production\nyarn build\n\n# If you care about node_modules size\nyarn run prune\n\n# serve in production mode\nyarn start\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjounqin%2Freact-hackernews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjounqin%2Freact-hackernews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjounqin%2Freact-hackernews/lists"}