{"id":25504731,"url":"https://github.com/techkumarnitish/cryptocurrencytracker-24","last_synced_at":"2025-11-14T07:30:15.367Z","repository":{"id":263635351,"uuid":"891013242","full_name":"TechKumarNitish/cryptoCurrencyTracker-24","owner":"TechKumarNitish","description":"Cryptocurrency Tracker using react js and api integration","archived":false,"fork":false,"pushed_at":"2024-11-19T15:29:46.000Z","size":182,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-19T16:42:09.021Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/TechKumarNitish.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-19T15:19:11.000Z","updated_at":"2024-11-19T15:30:02.000Z","dependencies_parsed_at":"2024-11-19T16:44:16.012Z","dependency_job_id":"1d2c6f70-5b4f-4380-870b-609d012a8884","html_url":"https://github.com/TechKumarNitish/cryptoCurrencyTracker-24","commit_stats":null,"previous_names":["techkumarnitish/cryptocurrencytracker-24"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechKumarNitish%2FcryptoCurrencyTracker-24","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechKumarNitish%2FcryptoCurrencyTracker-24/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechKumarNitish%2FcryptoCurrencyTracker-24/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechKumarNitish%2FcryptoCurrencyTracker-24/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechKumarNitish","download_url":"https://codeload.github.com/TechKumarNitish/cryptoCurrencyTracker-24/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239605094,"owners_count":19666998,"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":[],"created_at":"2025-02-19T05:56:10.626Z","updated_at":"2025-11-14T07:30:15.316Z","avatar_url":"https://github.com/TechKumarNitish.png","language":"JavaScript","readme":"In this project, let's build a **Cryptocurrency Tracker** by applying the concepts of ReactJs and It's Life Cycle.\n\n### Refer to the image below:\n\n\u003cbr/\u003e\n\u003cdiv style=\"text-align: center;\"\u003e\n    \u003cimg src=\"https://assets.ccbp.in/frontend/content/react-js/cryptocurrency-tracker-output.gif\" alt=\"cryptocurrency-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/cryptocurrency-sm-success-output.png)\n- [Medium (Size \u003e= 768px), Large (Size \u003e= 992px) and Extra Large (Size \u003e= 1200px)](https://assets.ccbp.in/frontend/content/react-js/cryptocurrency-lg-success-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 page is opened,\n  - Make HTTP GET request to the **cryptocurrenciesApiUrl**\n  - **_loader_** should be displayed while fetching the data\n  - After fetching the data, the updated list of cryptocurrencies should be displayed\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\n\u003csummary\u003eAPI Requests \u0026 Responses\u003c/summary\u003e\n\u003cbr/\u003e\n\n**cryptocurrenciesApiUrl**\n\n#### API: `https://apis.ccbp.in/crypto-currency-converter`\n\n#### Method: `GET`\n\n#### Description:\n\nReturns a response containing the list of cryptocurrencies\n\n#### Response\n\n```json\n[\n  {\n    \"currency_name\": \"Bitcoin\",\n    \"usd_value\": \"46750.63\",\n    \"euro_value\": \"39596.07\",\n    \"id\": \"6e937df9-1345-4c2f-8ace-babff0e5108f\",\n    \"currency_logo\": \"https://www.cryptocompare.com/media/19633/btc.png\"\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/cryptocurrency-component-breakdown-structure.png\" alt=\"cryptocurrency 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/CryptocurrencyTracker/index.js`\n- `src/components/CryptocurrencyTracker/index.css`\n- `src/components/CryptocurrenciesList/index.js`\n- `src/components/CryptocurrenciesList/index.css`\n- `src/components/CryptocurrencyItem/index.js`\n- `src/components/CryptocurrencyItem/index.css`\n\u003c/details\u003e\n\n### Quick Tips\n\n\u003cdetails\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 **Rings** and **#ffffff**, respectively\n\n  ```jsx\n  \u003cLoader type=\"Rings\" color=\"#ffffff\" height={80} width={80} /\u003e\n  ```\n\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- The cryptocurrencies should have the alt as the value of the key `currency_name` from each cryptocurrency object received in response\n- Wrap the `Loader` component with an HTML container element and add the `data-testid` attribute value as `loader` to it as shown below\n\n  ```jsx\n  \u003cdiv data-testid=\"loader\"\u003e\n    \u003cLoader type=\"Rings\" color=\"#ffffff\" 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/cryptocurrency-bg.png](https://assets.ccbp.in/frontend/react-js/cryptocurrency-bg.png) alt should be **cryptocurrency**\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: #000000; width: 150px; padding: 10px; color: white\"\u003eHex: #000000\u003c/div\u003e\n\u003cdiv style=\"background-color: #00e7ff; width: 150px; padding: 10px; color: black\"\u003eHex: #00e7ff\u003c/div\u003e\n\u003cdiv style=\"background-color: #092e33; width: 150px; padding: 10px; color: white\"\u003eHex: #092e33\u003c/div\u003e\n\u003cdiv style=\"background-color: #ffffff; width: 150px; padding: 10px; color: black\"\u003eHex: #ffffff\u003c/div\u003e\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eFont-families\u003c/summary\u003e\n\n- Roboto\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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechkumarnitish%2Fcryptocurrencytracker-24","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechkumarnitish%2Fcryptocurrencytracker-24","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechkumarnitish%2Fcryptocurrencytracker-24/lists"}