{"id":16601596,"url":"https://github.com/amankumarsinhagithub/live-currency-convertor","last_synced_at":"2025-12-16T03:54:52.529Z","repository":{"id":217279959,"uuid":"743460027","full_name":"AmanKumarSinhaGitHub/Live-Currency-Convertor","owner":"AmanKumarSinhaGitHub","description":"React App that facilitates quick and accurate currency conversions by fetching real-time exchange rates from an API.","archived":false,"fork":false,"pushed_at":"2024-01-15T11:09:30.000Z","size":200,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T08:18:22.065Z","etag":null,"topics":["api","currency-conversion","currency-converter","currency-exchange","front-end","projects","react","reactjs","reactproject"],"latest_commit_sha":null,"homepage":"https://amankumarsinhagithub.github.io/Live-Currency-Convertor/","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/AmanKumarSinhaGitHub.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}},"created_at":"2024-01-15T09:35:06.000Z","updated_at":"2024-01-15T10:07:16.000Z","dependencies_parsed_at":"2024-01-15T13:32:55.523Z","dependency_job_id":null,"html_url":"https://github.com/AmanKumarSinhaGitHub/Live-Currency-Convertor","commit_stats":null,"previous_names":["amankumarsinhagithub/live-currency-convertor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AmanKumarSinhaGitHub/Live-Currency-Convertor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanKumarSinhaGitHub%2FLive-Currency-Convertor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanKumarSinhaGitHub%2FLive-Currency-Convertor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanKumarSinhaGitHub%2FLive-Currency-Convertor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanKumarSinhaGitHub%2FLive-Currency-Convertor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmanKumarSinhaGitHub","download_url":"https://codeload.github.com/AmanKumarSinhaGitHub/Live-Currency-Convertor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanKumarSinhaGitHub%2FLive-Currency-Convertor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27759329,"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-12-16T02:00:10.477Z","response_time":57,"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":["api","currency-conversion","currency-converter","currency-exchange","front-end","projects","react","reactjs","reactproject"],"created_at":"2024-10-12T00:18:37.985Z","updated_at":"2025-12-16T03:54:52.490Z","avatar_url":"https://github.com/AmanKumarSinhaGitHub.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Currency Converter App\n\nThis Currency Converter App is a user-friendly web application developed using React. It facilitates quick and accurate currency conversions by fetching real-time exchange rates from an API.\n\n## Live Demo\n\nExplore the live demo: [Currency Converter App Demo](https://amankumarsinhagithub.github.io/Live-Currency-Convertor/)\n\n## Features\n\n- Fetches currency exchange rates from [Currency API](https://github.com/fawazahmed0/currency-api).\n- Allows users to input the amount for conversion.\n- Provides a dropdown to select source and target currencies.\n- Supports easy swapping of source and target currencies.\n- Displays the converted amount instantly.\n\n## How to Use\n\n### Prerequisites\n\n- Ensure Node.js is installed on your machine.\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/AmanKumarSinhaGitHub/Live-Currency-Convertor.git\n   ```\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd Live-Currency-Convertor\n   ```\n\n3. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n### Usage\n\n1. Run the application:\n\n   ```bash\n   npm run dev\n   ```\n\n2. Open your browser and go to [http://localhost:5173](http://localhost:5173).\n\n3. Enter the amount, select the source and target currencies, and click the \"Convert\" button.\n\n4. Optionally, use the \"Swap\" button to switch the source and target currencies.\n\n## Code Structure\n\n### `App.js`\n\n- Main component rendering the entire application.\n- Manages state for amount, source currency, target currency, and converted amount.\n- Utilizes the `useCurrencyInfo` custom hook to fetch currency exchange rates.\n\n### `useCurrencyInfo.js`\n\n- Custom hook to fetch real-time currency exchange rates from an external API.\n- Utilizes the `fetch` function to retrieve data and update the component state.\n\n### `InputBox.js`\n\n- Reusable component for input fields.\n- Accepts props such as label, amount, currency options, and handles user input for amount and currency selection.\n\n## Contribution Guidelines\n\nFeel free to contribute to the project by submitting issues or pull requests. Your contributions are highly appreciated!\n\n## Getting Exchange Rates\n\nThe app fetches real-time exchange rates from the [Currency API](https://github.com/fawazahmed0/currency-api), ensuring accurate and up-to-date information.\n\nHappy converting! 💰🔄","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famankumarsinhagithub%2Flive-currency-convertor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famankumarsinhagithub%2Flive-currency-convertor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famankumarsinhagithub%2Flive-currency-convertor/lists"}