{"id":18206572,"url":"https://github.com/thirumalesh6630/githubpopularrepos","last_synced_at":"2026-04-14T04:31:28.795Z","repository":{"id":260794142,"uuid":"882327300","full_name":"Thirumalesh6630/GithubPopularRepos","owner":"Thirumalesh6630","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-02T15:31:36.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T19:34:58.938Z","etag":null,"topics":["css","react-router","reactjs"],"latest_commit_sha":null,"homepage":"https://kthirumaleshixgpyrjscpyr39r.drops.nxtwave.tech/","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/Thirumalesh6630.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":"2024-11-02T14:28:35.000Z","updated_at":"2024-11-02T15:38:44.000Z","dependencies_parsed_at":"2024-11-02T16:37:12.797Z","dependency_job_id":null,"html_url":"https://github.com/Thirumalesh6630/GithubPopularRepos","commit_stats":null,"previous_names":["thirumalesh6630/githubpopularrepos"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Thirumalesh6630/GithubPopularRepos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thirumalesh6630%2FGithubPopularRepos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thirumalesh6630%2FGithubPopularRepos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thirumalesh6630%2FGithubPopularRepos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thirumalesh6630%2FGithubPopularRepos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thirumalesh6630","download_url":"https://codeload.github.com/Thirumalesh6630/GithubPopularRepos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thirumalesh6630%2FGithubPopularRepos/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267179544,"owners_count":24048361,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["css","react-router","reactjs"],"created_at":"2024-11-03T12:05:17.513Z","updated_at":"2026-04-14T04:31:28.635Z","avatar_url":"https://github.com/Thirumalesh6630.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"In this project, let's build a **Github Popular Repos** by applying the concepts we have learned till now.\n\n### Refer to the images below:\n\n \u003cbr/\u003e\n \u003cdiv style=\"text-align: center;\"\u003e\n     \u003cimg src=\"https://assets.ccbp.in/frontend/content/react-js/github-popular-repos-output.gif\" alt=\"github popular repos output\" style=\"max-width:70%;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.12)\"\u003e\n \u003c/div\u003e\n \u003cbr/\u003e\n\n**Failure View**\n\n \u003cdiv style=\"text-align: center;\"\u003e\n     \u003cimg src=\"https://assets.ccbp.in/frontend/content/react-js/github-popular-repos-error-view-output.gif\" alt=\"github popular repos failure view output\" style=\"max-width:70%;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.12)\"\u003e\n \u003c/div\u003e\n \u003cbr/\u003e\n\n### Design Files\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to view\u003c/summary\u003e\n\n- [Extra Small (Size \u003c 576px) and Small (Size \u003e= 576px)](https://assets.ccbp.in/frontend/content/react-js/github-repos-sm-outputs.png)\n- [Medium (Size \u003e= 768px), Large (Size \u003e= 992px) and Extra Large (Size \u003e= 1200px) - Success](https://assets.ccbp.in/frontend/content/react-js/github-repos-lg-success-output.png)\n- [Medium (Size \u003e= 768px), Large (Size \u003e= 992px) and Extra Large (Size \u003e= 1200px) - Loading](https://assets.ccbp.in/frontend/content/react-js/github-repos-lg-loading-output.png)\n- [Medium (Size \u003e= 768px), Large (Size \u003e= 992px) and Extra Large (Size \u003e= 1200px) - Failure](https://assets.ccbp.in/frontend/content/react-js/github-repos-error-view-lg-output.png)\n\n\u003c/details\u003e\n\n### Set Up Instructions\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to view\u003c/summary\u003e\n\n- Download dependencies by running `npm install`\n- Start up the app using `npm start`\n\u003c/details\u003e\n\n### Completion Instructions\n\n\u003cdetails\u003e\n\u003csummary\u003eFunctionality to be added\u003c/summary\u003e\n\u003cbr/\u003e\n\nThe app must have the following functionalities\n\n- When the app is opened initially,\n\n  - An HTTP GET request should be made to **githubReposApiUrl** with query parameter as `language` and its initial value as `ALL`\n  - **_loader_** should be displayed while fetching the data\n  - After the data is fetched successfully, display the repositories list received in the response\n\n- When a language filter is active\n\n  - An HTTP GET request should be made to the above-mentioned URL with the `id` of the active language\n  - **_loader_** should be displayed while fetching the data\n  - After the data is fetched successfully, display the repositories list received in the response\n\n- The `GithubPopularRepos` component is provided with `languageFiltersData`. It consists of a list of language filter objects with the following properties in each language filter object\n\n  |   Key    | Data Type |\n  | :------: | :-------: |\n  |    id    |  String   |\n  | language |  String   |\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\n\u003csummary\u003eAPI Requests \u0026 Responses\u003c/summary\u003e\n\u003cbr\u003e\n\n**githubReposApiUrl**\n\n#### API: `https://apis.ccbp.in/popular-repos`\n\n#### Example: `https://apis.ccbp.in/popular-repos?language=ALL`\n\n#### Method: `GET`\n\n#### Description:\n\nReturns a response containing the list of repositories\n\n#### Response\n\n```json\n{\n  \"popular_repos\": [\n    {\n\t  \"name\": \"freeCodeCamp\",\n      \"id\": 28457823,\n      \"issues_count\": 154,\n      \"forks_count\": 26651,\n      \"stars_count\": 331304,\n      \"avatar_url\": \"https://avatars.githubusercontent.com/u/9892522?v=4\"\n    },\n      ...\n  ],\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eComponents Structure\u003c/summary\u003e\n\n\u003cbr/\u003e\n\u003cdiv style=\"text-align: center;\"\u003e\n    \u003cimg src=\"https://assets.ccbp.in/frontend/content/react-js/github-popular-repos-component-breakdown-structure.png\" alt=\"component-breakdown-structure\" style=\"max-width:100%;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.12)\"\u003e\n\u003c/div\u003e\n\u003cbr/\u003e\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eImplementation Files\u003c/summary\u003e\n\u003cbr/\u003e\n\nUse these files to complete the implementation:\n\n- `src/components/GithubPopularRepos/index.js`\n- `src/components/GithubPopularRepos/index.css`\n- `src/components/LanguageFilterItem/index.js`\n- `src/components/LanguageFilterItem/index.css`\n- `src/components/RepositoryItem/index.js`\n- `src/components/RepositoryItem/index.css`\n\u003c/details\u003e\n\n### Quick Tips\n\n\u003cdetails close\u003e\n\u003csummary\u003eClick to view\u003c/summary\u003e\n\u003cbr\u003e\n\n- To display the animated loader, we need to import the `Loader` component using the below statement\n\n  ```jsx\n  import Loader from 'react-loader-spinner'\n  ```\n\n- In order to display the given animated loader, pass the `type` and `color` props to the `Loader` component with values as **ThreeDots** and **#0284c7**, respectively\n\n  ```jsx\n  \u003cLoader type=\"ThreeDots\" color=\"#0284c7\" height={80} width={80} /\u003e\n  ```\n\n    \u003cbr/\u003e  \n  \u003c/details\u003e\n\n### Important Note\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to view\u003c/summary\u003e\n\n\u003cbr/\u003e\n\n**The following instructions are required for the tests to pass**\n\n- Wrap the `Loader` component with an HTML container element and add the `data-testid` attribute value as **loader** to it\n\n  ```jsx\n  \u003cdiv data-testid=\"loader\"\u003e\n    \u003cLoader type=\"ThreeDots\" color=\"#0284c7\" height={80} width={80} /\u003e\n  \u003c/div\u003e\n  ```\n\n\u003c/details\u003e\n\n### Resources\n\n\u003cdetails\u003e\n\u003csummary\u003eImage URLs\u003c/summary\u003e\n\n- [https://assets.ccbp.in/frontend/react-js/stars-count-img.png](https://assets.ccbp.in/frontend/react-js/stars-count-img.png) alt should be **stars**\n- [https://assets.ccbp.in/frontend/react-js/forks-count-img.png](https://assets.ccbp.in/frontend/react-js/forks-count-img.png) alt should be **forks**\n- [https://assets.ccbp.in/frontend/react-js/issues-count-img.png](https://assets.ccbp.in/frontend/react-js/issues-count-img.png) alt should be **open issues**\n- [https://assets.ccbp.in/frontend/react-js/api-failure-view.png](https://assets.ccbp.in/frontend/react-js/api-failure-view.png) alt should be **failure view**\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eColors\u003c/summary\u003e\n\n\u003cbr/\u003e\n\n\u003cdiv style=\"background-color: #0284c7; width: 150px; padding: 10px; color: white\"\u003eHex: #0284c7\u003c/div\u003e\n\u003cdiv style=\"background-color: #ffffff; width: 150px; padding: 10px; color: black\"\u003eHex: #ffffff\u003c/div\u003e\n\u003cdiv style=\"background-color: #0f172a; width: 150px; padding: 10px; color: white\"\u003eHex: #0f172a\u003c/div\u003e\n\u003cdiv style=\"background-color: #f8f8ff; width: 150px; padding: 10px; color: black\"\u003eHex: #f8f8ff\u003c/div\u003e\n\u003cdiv style=\"background-color: #e73959; width: 150px; padding: 10px; color: white\"\u003eHex: #e73959\u003c/div\u003e\n\u003cdiv style=\"background-color: #1e293b; width: 150px; padding: 10px; color: white\"\u003eHex: #1e293b\u003c/div\u003e\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eFont-families\u003c/summary\u003e\n\n- Roboto\n- Lobster\n\n\u003c/details\u003e\n\n\u003e ### _Things to Keep in Mind_\n\u003e\n\u003e - All components you implement should go in the `src/components` directory.\n\u003e - Don't change the component folder names as those are the files being imported into the tests.\n\u003e - **Do not remove the pre-filled code**\n\u003e - Want to quickly review some of the concepts you’ve been learning? Take a look at the Cheat Sheets.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthirumalesh6630%2Fgithubpopularrepos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthirumalesh6630%2Fgithubpopularrepos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthirumalesh6630%2Fgithubpopularrepos/lists"}