{"id":21536468,"url":"https://github.com/selharem/express-github-api","last_synced_at":"2026-04-04T16:34:25.396Z","repository":{"id":165356273,"uuid":"442410634","full_name":"Selharem/Express-Github-API","owner":"Selharem","description":"List the languages used by the trending repos in the last 30 days","archived":false,"fork":false,"pushed_at":"2022-01-16T11:59:38.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T07:29:43.372Z","etag":null,"topics":["api","expressjs","github-api","github-search","javscript","nodejs","rest-api"],"latest_commit_sha":null,"homepage":"https://medium.com/@selharem/api-design-101-build-a-nodejs-rest-microservice-using-github-apis-3d563af71ce0","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/Selharem.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":"2021-12-28T09:15:11.000Z","updated_at":"2021-12-29T08:10:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a5a3b73-3369-4dfe-b225-3c36c0440829","html_url":"https://github.com/Selharem/Express-Github-API","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/Selharem%2FExpress-Github-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Selharem%2FExpress-Github-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Selharem%2FExpress-Github-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Selharem%2FExpress-Github-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Selharem","download_url":"https://codeload.github.com/Selharem/Express-Github-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244104591,"owners_count":20398703,"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":["api","expressjs","github-api","github-search","javscript","nodejs","rest-api"],"created_at":"2024-11-24T03:19:42.762Z","updated_at":"2025-12-31T00:17:04.859Z","avatar_url":"https://github.com/Selharem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express-Github-API\nThis a REST microservice developed using Expressjs. \n\n# Functional specs\n* The API lists the languages used by the trending public Github repos.\n* It calculates the total number of the repos (100 repos - repos with `null` language) \n* For every language, it returns : \n  * The number of repos using that language.\n  * The list of those repos.\n# Technologies Used\n* [Nodejs](https://github.com/nodejs/node) : JavaScript runtime enviromment.\n* [Express](https://github.com/expressjs/express):  Node.js web application server framework.\n* [axios](https://github.com/axios/axios) : Promise based HTTP client for the browser and Node.js.\n* [GitHub REST API](https://docs.github.com/en/rest) : APIs to interact with Github and fetch public informations about it.\n* [Moment.js](https://github.com/moment/moment) : JavaScript date library.\n\n# Available Endpoints\nVerb | endpoint | description |\n--- | --- | --- |\nGET | \u003ca href=\"http://localhost:5000/api/repos/\"\u003e/api/repos/\u003c/a\u003e | Lists the trending languages in the last 30 days |\nGET | \u003ca href=\"http://localhost:5000/api/repos/2021-08-31\"\u003e/api/repos/{date}\u003c/a\u003e | Lists the trending languages in the last 30 days from the given date|\n\n# Expected response\n\n```json\n{\n  \"total_count\": \"x\",\n  \"result\": [\n     {\n         \"language\": \"languageX\",\n         \"number of repos\": \"x\",\n         \"repos \": [\n             \"repo1\",\n                 ...\n             \"repoN\"\n         ]\n     },\n        ...\n  ]\n}\n```\n\n# Getting Started\n\n * Clone the repo :\n \n```shell\n git clone https://github.com/Selharem/Express-Github-API.git\n```\n * Install the dependencies : \n \n```shell\n npm install\n```\n* Start the server : \n```shell\n npm start\n```\n\nNow, the app is running at http://localhost:5000 !\n\n\n# Happy Coding\n\n\n\u003cp align=\"center\"\u003eMade with ❤️ By \u003ca href=\"https://github.com/Selharem\"\u003eElharem Soufiane\u003c/a\u003e\u003c/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselharem%2Fexpress-github-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselharem%2Fexpress-github-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselharem%2Fexpress-github-api/lists"}