Cuurency Converter CI

Currency Converter 💱

This Java project is a currency converter application that utilizes the Free Currency API to estimate currency conversion rates.

Overview ℹ️

The Currency Converter application allows users to convert currencies using real-time exchange rates retrieved from the Free Currency API.

Dependencies 🛠️

  • Java Development Kit (JDK) 17+
  • JUnit5
  • Mockito
  • Gson

Installation 📥

  1. Clone the repository to your local machine:
git clone https://github.com/Joaohsd/currency-ci.git
  1. Navigate to the project directory:
cd currency-ci
  1. Run the tests ✔️
mvn clean site

You can find the reports in target/site folder.

  1. Build the project 🚀:
mvn clean install

Usage 🚀

  1. Run the application:
java -jar out/file.jar <value> <from_code> <to_code>
  1. 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