Table of Contents
This Currency Converter is a simple yet powerful tool that allows users to quickly and accurately convert between different currencies in real-time. The project is designed to be intuitive, fast, and responsive, making it easy for users to check exchange rates and perform conversions effortlessly.
I decided to develop this application to learn more about working with APIs in React. I also wanted to develop an application with logic of medium complexity.
To get a local copy up and running follow these simple example steps.
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
- Get a free API Key at https://www.exchangerate-api.com/
- Clone the repo
git clone https://github.com/alria-k/currency-converter
- Install NPM packages
npm install
- Create
.envfile - Enter your API key in
.envVITE_API_KEY="ENTER YOUR API";
- Change git remote url to avoid accidental pushes to base project
git remote set-url origin github_username/repo_name git remote -v # confirm the changes
◉ Currency conversion
◉ Drop-down list with 161 countries to choose from
◉ Swap if only two countries are converted
◉ Entering an amount in any field converts the amount based on the main conversion country.
◉ Adding up to 5 countries for simultaneous conversion (when adding, the country is selected randomly)
◉ Deletion of any conversion field
◉ You will not be able to select the same countries
◉ Display indicative exchange rate
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Artur - LinkedIn - [email protected]
Project Link: https://github.com/alria-k/currency-converter
