{"id":21650485,"url":"https://github.com/dhairya0907/hacker-news-api","last_synced_at":"2026-04-13T09:31:31.662Z","repository":{"id":245722292,"uuid":"363181206","full_name":"dhairya0907/Hacker-News-API","owner":"dhairya0907","description":"Api usage and Design demonstration using Hacker News Api and React.","archived":false,"fork":false,"pushed_at":"2021-07-24T15:09:47.000Z","size":4608,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T03:38:35.443Z","etag":null,"topics":["api","design","hackernews-api","react","reactjs"],"latest_commit_sha":null,"homepage":"https://hackernewsapi-demo.vercel.app/","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/dhairya0907.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":"2021-04-30T15:22:33.000Z","updated_at":"2021-07-24T15:09:49.000Z","dependencies_parsed_at":"2024-06-23T17:52:04.232Z","dependency_job_id":"c20c3ea3-8dbc-459d-8888-5f51dc4c4689","html_url":"https://github.com/dhairya0907/Hacker-News-API","commit_stats":null,"previous_names":["dhairya0907/hacker-news-api"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dhairya0907/Hacker-News-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhairya0907%2FHacker-News-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhairya0907%2FHacker-News-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhairya0907%2FHacker-News-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhairya0907%2FHacker-News-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhairya0907","download_url":"https://codeload.github.com/dhairya0907/Hacker-News-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhairya0907%2FHacker-News-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31746291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","design","hackernews-api","react","reactjs"],"created_at":"2024-11-25T07:40:36.519Z","updated_at":"2026-04-13T09:31:31.645Z","avatar_url":"https://github.com/dhairya0907.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- PROJECT LOGO --\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://hackernewsapi-demo.vercel.app/\"\u003e\n    \u003cimg src=\"/Images/hackernews.png\" alt=\"Logo\" width=\"80\" height=\"80\"\u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003eHacker News API\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    Api usage and Design demonstration using Hacker News Api and React.\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://hackernewsapi-demo.vercel.app/\"\u003eView Demo\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/dhairya0907/Hacker-News-API/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/dhairya0907/Hacker-News-API/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003c!-- PROJECT SHIELDS --\u003e\n\u003cdiv align=\"center\"\u003e\n   \u003ca target=\"_blank\" href=\"https://github.com/dhairya0907/Hacker-News-API/blob/main/LICENSE\"\u003e\u003cimg src=\"https://badgen.net/badge/license/MIT/blue\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=https://github.com/dhairya0907/Hacker-News-API/actions\u003e\u003cimg src=\"https://github.com/dhairya0907/Hacker-News-API/workflows/Build%20\u0026%20Test/badge.svg\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=https://github.com/dhairya0907/Hacker-News-API/actions\u003e\u003cimg src=\"https://github.com/dhairya0907/Hacker-News-API/workflows/CodeQL/badge.svg\"\u003e\u003c/a\u003e\n   \u003ca target=\"_blank\" href=\"https://www.linkedin.com/in/dhairyasharma0907/\"\u003e\u003cimg src=\"https://img.shields.io/badge/style--5eba00.svg?label=LinkedIn\u0026logo=linkedin\u0026style=social\"\u003e\u003c/a\u003e\u0026nbsp;\n    \u003ca target=\"_blank\" href=\"https://twitter.com/dhairya_0907\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/dhairya_0907?label=Follow\u0026style=social\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n\n\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n\u003cp\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n\u003c/p\u003e\n\n\n## About The Project\n\n\u003cp align=\"center\" \u003e\n   \u003ca href=\"https://hackernewsapi-demo.vercel.app/\"\u003e\n    \u003cimg alt=\"product mobile screenshot\" src=\"/Images/Mobile_Screen_GIf.gif\" /\u003e\n \u003c/a\u003e\n\u003cp  align=\"center\"\u003e\n  Mobile Version\n  \u003cbr/\u003e\n \n\u003c/p\u003e\n\n\u003c/p\u003e\n\u003cp align=\"center\" \u003e\n   \u003ca href=\"https://hackernewsapi-demo.vercel.app/\"\u003e\n    \u003cimg alt=\"product desktop screenshot\" src=\"/Images/Desktop_Screen_GIf.gif\"/\u003e\n    \u003c/a\u003e\n\n\u003c/p\u003e\n\u003cp  align=\"center\"\u003e\n  Desktop Version\n  \u003cbr/\u003e\n \u003cbr/\u003e\n\u003c/p\u003e\n\n \n\nThis project is demonstration of how to use API in React project and how to Design simple website using React. I have used Haker News free api fot this demonstration, You can use any other API in same way.\n\nHere's why I use Hacker News API and React :\n* I used Hacker News API because it's free to use and it updates in real time.\n* I used React Library to develop and Design web application because it is easy to learn and easy to use.\n* React has great developer tools.\n* A virtual DOM is used.\n\n### Built With\n* [React](https://reactjs.org/)\n* [Hacker News API](https://github.com/HackerNews/API)\n* [Deployed using Vercel](https://vercel.com/)\n\n### What I learned\n* How to use API in React.\n* How to Design React web application.\n* How Structure React web application source code.\n\n\n\n\u003c!-- GETTING STARTED --\u003e\n## Getting Started\n\nTo host web application on user localhost follow below steps :\n\n### Prerequisites\n\n* yarn\n  ```sh\n  npm install --global yarn\n  ```\n\n### Installation\n\n1. Get a free API Key at [https://github.com/HackerNews/API](https://github.com/HackerNews/API)\n2. Clone the repo\n   ```sh\n   git clone https://github.com/dhairya0907/Hacker-News-API.git\n   ```\n3. Install YARN packages\n   ```sh\n   yarn install\n   ```\n4. Run on localhost\n   ```sh\n   yarn start\n   ```\n\n\u003c!-- ROADMAP --\u003e\n## Roadmap\n\nSee the [open issues](https://github.com/dhairya0907/Hacker-News-API/issues) for a list of proposed features (and known issues).\n\n\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the MIT License. See [`LICENSE`](https://github.com/dhairya0907/Hacker-News-API/blob/main/LICENSE) for more information.\n\n\n\n\u003c!-- CONTACT --\u003e\n## Contact\n\nDhairya Sharma - [@dhairya_0907](https://twitter.com/dhairya_0907) - dhairya.sharma532@gmail.com.com\n\nProject Github Link: [https://github.com/dhairya0907/Hacker-News-API](https://github.com/dhairya0907/Hacker-News-API)\n\nProject Web Application Link: [https://hackernewsapi-demo.vercel.app/](https://hackernewsapi-demo.vercel.app/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhairya0907%2Fhacker-news-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhairya0907%2Fhacker-news-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhairya0907%2Fhacker-news-api/lists"}