This Java project is a currency converter application that utilizes the Free Currency API to estimate currency conversion rates.
The Currency Converter application allows users to convert currencies using real-time exchange rates retrieved from the Free Currency API.
- Java Development Kit (JDK) 17+
- JUnit5
- Mockito
- Gson
- Clone the repository to your local machine:
git clone https://github.com/Joaohsd/currency-ci.git
- Navigate to the project directory:
cd currency-ci
- Run the tests ✔️
mvn clean site
You can find the reports in target/site
folder.
- Build the project 🚀:
mvn clean install
- Run the application:
java -jar out/file.jar <value> <from_code> <to_code>
- Avalable codes for convertion
Currency Code | Currency Code | Currency Code | Currency Code |
---|---|---|---|
EUR | JPY | GBP | RUB |
USD | BGN | HUF | TRY |
CZK | DKK | PLN | AUD |
RON | SEK | CHF | BRL |
NOK | ISK | ISK | CAD |
HRK | HKD | IDR | CNY |
MXN | MYR | NZD | PHP |
SGD | THB | ZAR | INR |
ILS | KRW |