{"id":22997934,"url":"https://github.com/apfirebolt/crypto-gecko-react","last_synced_at":"2026-05-09T14:35:50.432Z","repository":{"id":266397950,"uuid":"898166085","full_name":"Apfirebolt/crypto-gecko-react","owner":"Apfirebolt","description":"A React UI application which integrates API data from Gecko cryptocurrency exchange","archived":false,"fork":false,"pushed_at":"2025-03-06T00:22:24.000Z","size":1395,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T00:27:50.975Z","etag":null,"topics":["coingecko","coingecko-api","cryptocurrency","react","reactjs","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Apfirebolt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-12-03T22:52:13.000Z","updated_at":"2025-03-06T00:22:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb09bd80-816e-4808-ae1f-322ad51179fc","html_url":"https://github.com/Apfirebolt/crypto-gecko-react","commit_stats":null,"previous_names":["apfirebolt/crypto-gecko-react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apfirebolt%2Fcrypto-gecko-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apfirebolt%2Fcrypto-gecko-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apfirebolt%2Fcrypto-gecko-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apfirebolt%2Fcrypto-gecko-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Apfirebolt","download_url":"https://codeload.github.com/Apfirebolt/crypto-gecko-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246820351,"owners_count":20839228,"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":["coingecko","coingecko-api","cryptocurrency","react","reactjs","tailwindcss","typescript"],"created_at":"2024-12-15T06:09:41.974Z","updated_at":"2026-05-09T14:35:50.421Z","avatar_url":"https://github.com/Apfirebolt.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![React](https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge\u0026logo=react\u0026logoColor=%2361DAFB)\n![TailwindCSS](https://img.shields.io/badge/tailwindcss-%2338B2AC.svg?style=for-the-badge\u0026logo=tailwind-css\u0026logoColor=white)\n![shadcn](https://img.shields.io/badge/shadcn-%23000000.svg?style=for-the-badge\u0026logo=shadcn\u0026logoColor=white)\n\n# Cryptocurrency Info App in React using TailwindCSS\n\nA web application which uses the CoinGecko API to fetch real-time cryptocurrency data. You can find more information about the API [here](https://www.coingecko.com/en/api). The API provides a generous free tier for testing and experimenting with the data.\n\n## Features\n\n* List of all popular crypto coins, ability to search for a given coin.\n* List of trending crypto coins from the API.\n* List of exchanges for trading crypto coins.\n\n## Technologies used\n\n* React - For UI development\n* Tailwind CSS - For CSS component styling\n\n# Adding Shadcn\n\n```\n\n```\n\nCreate tsconfig.json file with the following contents \n\n```\n{\n  \"compilerOptions\": {\n    // ...\n    \"baseUrl\": \".\",\n    \"paths\": {\n      \"@/*\": [\"./src/*\"]\n    }\n    // ...\n  }\n}\n```\n\nInstall Types package and update vite.config.js file\n\n```\nnpm install -D @types/node\n```\n\n```\nimport { defineConfig } from 'vite'\nimport react from '@vitejs/plugin-react'\nimport path from 'path'\nimport { fileURLToPath } from 'url'\n\nconst __filename = fileURLToPath(import.meta.url)\nconst __dirname = path.dirname(__filename)\n\n// https://vite.dev/config/\nexport default defineConfig({\n  plugins: [react()],\n  server: {\n    port: 3000,\n  },\n  resolve: {\n    alias: {\n      \"@\": path.resolve(__dirname, \"./src\"),\n    },\n  },\n})\n```\n\nRun the CLI\n\n```\nnpx shadcn@latest init\n```\n\nConfigure components.json file\n\n```\nWhich style would you like to use? › New York\nWhich color would you like to use as base color? › Zinc\nDo you want to use CSS variables for colors? › no / yes\n```\n\nThat's it, you can now start adding components to your project. For adding button, use the following command\n\n```\nnpx shadcn@latest add button\n```\n\nTo use it anywhere inside your application\n\n```\nimport { Button } from \"@/components/ui/button\"\n \nexport default function Home() {\n  return (\n    \u003cdiv\u003e\n      \u003cButton\u003eClick me\u003c/Button\u003e\n    \u003c/div\u003e\n  )\n}\n```\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in your browser.\n\nThe page will reload when you make changes.\\\nYou may also see any lint errors in the console.\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\\\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `npm run eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can't go back!**\n\nIf you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.\n\nYou don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.\n\n## Project Screenshots\n\n### Home Page\n![Home Page](screenshots/2.png)\n\nOn the homepage you have option to search for coins and can see price of the coins in USD and INR through a modal.\n\n### Coin List\n![Coin Details](screenshots/4.png)\n\n### Trending Coins\n![Trending Coins](screenshots/1.png)\n\n### Exchanges List\n![Exchanges List](screenshots/3.png)\n\n## Contribute\n\nI welcome contributions to this project! If you have suggestions for improvements or have found a bug, please open an issue or submit a pull request. Here are some ways you can contribute:\n\n1. **Report Bugs**: If you find a bug, please report it by opening an issue. Be sure to include details about the bug and how to reproduce it.\n\n2. **Suggest Features**: If you have an idea for a new feature, please open an issue to discuss it. We welcome all ideas and feedback.\n\n3. **Submit Pull Requests**: If you have a fix or a new feature that you would like to contribute, please submit a pull request. Make sure to follow the project's coding standards and include tests for your changes.\n\n4. **Improve Documentation**: If you find any part of the documentation unclear or incomplete, feel free to make improvements.\n\n### Testing in React\n\npnpm install -D vitest @testing-library/react @testing-library/jest-dom jsdom\n\n### How to Contribute\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature-branch`).\n3. Make your changes.\n4. Commit your changes (`git commit -m 'Add some feature'`).\n5. Push to the branch (`git push origin feature-branch`).\n6. Open a pull request.\n\nThank you for your contributions!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapfirebolt%2Fcrypto-gecko-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapfirebolt%2Fcrypto-gecko-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapfirebolt%2Fcrypto-gecko-react/lists"}