{"id":22170817,"url":"https://github.com/melitus/hackernews-api-search","last_synced_at":"2026-04-09T11:41:48.495Z","repository":{"id":125425313,"uuid":"509155845","full_name":"melitus/hackernews-api-search","owner":"melitus","description":"This a small app that is based on nestjs and typesecript that makes am call to a public API of HackerNews","archived":false,"fork":false,"pushed_at":"2022-06-30T17:10:26.000Z","size":109,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T22:27:14.450Z","etag":null,"topics":["axios","express","javascript","nestjs","nodejs","rest-api","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/melitus.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":"2022-06-30T16:33:03.000Z","updated_at":"2023-03-04T05:21:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"8157aabc-759d-4b90-8fb2-807345881e9f","html_url":"https://github.com/melitus/hackernews-api-search","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/melitus%2Fhackernews-api-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melitus%2Fhackernews-api-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melitus%2Fhackernews-api-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melitus%2Fhackernews-api-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melitus","download_url":"https://codeload.github.com/melitus/hackernews-api-search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245319822,"owners_count":20596045,"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":["axios","express","javascript","nestjs","nodejs","rest-api","typescript"],"created_at":"2024-12-02T06:56:17.838Z","updated_at":"2025-12-30T23:26:26.899Z","avatar_url":"https://github.com/melitus.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hackernews-api\nA small app  that is based on nestjs and typesecript and make a call to a public API of  HackerNews\n\n## Description\n\n[Hacker News API Search] (https://github.com/melitus/hackernews-api-search.git) A search api with nest.\n\n# Tools\n\n- NodeJS\n- Express\n- Nestjs\n- Typescript\n- Axios\n- Swagger\n\n## Getting Started\n\nThe easiest way to get started is to clone the repository:\n\n# clone the repository\n\n```\ngit clone https://github.com/melitus/hackernews-api-search.git\n```\n\n## Change directory\n\n```\ncd hackernews-api-search\n```\n\n## Install NPM dependencies\n\n```bash\n$ npm install\n```\n\n## Running the app\n\n```bash\n# development\n$ npm run start\n\n# watch mode\n$ npm run start:dev\n\n# production mode\n$ npm run start:prod\n```\nThe app will be live on http://[::1]:3001/api, \n Open this link on your browser and access the endpoints using swagger.\n## Test\n\n```bash\n# unit tests\n$ npm run test\n\n# e2e tests\n$ npm run test:e2e\n\n# test coverage\n$ npm run test:cov\n```\n\n## Endpoints\n\n\nThis app has the following  three endpoints:\n\n1. Top 10 most occurring words in the titles of the last 25 stories - `http://[::1]:3001/news/getTopTenMostOccurringWordsInLast25Stories`\n\n2. Top 10 most occurring words in the titles of the post of exactly the last week - `http://[::1]:3001/news/getTopTenMostOccurringWordsInLast600StoriesOfUsers`\n\n3.  Top 10 most occurring words in titles of the last 600 stories of users with at least 10.000 karma - `http://[::1]:3001/news/getTopTenMostOccurringWordsInStoryOfLastWeek31934135`\n\n\n## Stay in touch\n\n- Author - [Aroh Sunday](asmelitus@gmail.com)\n## License\n\nNest is [MIT licensed](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelitus%2Fhackernews-api-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelitus%2Fhackernews-api-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelitus%2Fhackernews-api-search/lists"}