A simple Currency Converter application created using JavaFX.
- Currency-Converter is an application that converts between different currencies of the world.
- The application uses the https://free.currencyconverterapi.com API to get real time currency rate data.
- The currency data is updated every 60 minutes.
- The application supports 162 currencies.
- jdk-13.0.2
- openjfx-11.0.2
- jackson-core-2.11.3
- jackson-annotations-2.11.3
- jackson-databind-2.11.3
Note: The JAR file only runs on windows OS.
The application can be used in two ways described below.
-
Clone the project.
git clone https://github.com/TheRevenant04/Currency-Converter.git
-
Navigate to the JAR file. It is located in the out/artifacts/CurrencyConverter_jar folder.
-
Double click the CurrencyConverter.jar file.
OR
Alternatively, execute the following command on cmd or powershell:(path to JAR file)>java -jar CurrencyConverter.jar
-
Clone the project.
git clone https://github.com/TheRevenant04/Currency-Converter.git
-
Obtain a free API key from https://free.currencyconverterapi.com.
-
Setup a javaFX project with the project requirements and source files cloned from the repo according to your IDE.
-
Create a JSON folder in the Resources folder of the project and create a APIKey.json file. Add the following in the file.
{
"API_Key" : "your API key"
} -
Run the CurrencyJSONRetriever.java which makes an API call to obtain currency data and creates the currencies.json file that stores the currency data.(This step needs to be performed only when the project is being run for the first time.
-
Run the Driver.java to run the application.