Skip to content

Java application that allows users to convert currencies and temperatures.

Notifications You must be signed in to change notification settings

Diana2x/conversion_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

💸 Conversion Tool App 💸

The Conversion Tool App is a Java application that allows users to convert currencies and temperatures. It provides an intuitive graphical user interface (GUI) for easy conversion and displays accurate results.

Features

Currency Converter: Convert between different currencies using real-time exchange rates fetched from an API. Temperature Converter: Convert temperatures between Celsius, Fahrenheit, and Kelvin.

Getting Started

To use this project, you will need to set up an environment configuration file (env file) that stores your API key. This is necessary for the project to work correctly. Here's how you can do it:

  • Create a new file in the root directory of the project and name it .env.
  • Open the .env file using a text editor of your choice.
  • Add the following line to the file:
  • API_KEY=YOUR_API_KEY_HERE

You can obtain a free API key here.

💶 Currency Converter 💶

Enter the amount to be converted in the "Amount" field. Select the currency from which you want to convert in the "From" dropdown. Select the currency to which you want to convert in the "To" dropdown. Click the "Convert" button to see the converted latest value and exchange rate fetched from an API.

Currency Converter Preview

🌡️ Temperature Converter 🌡️

Select the temperature scale you want to convert from in the "From" dropdown. Select the temperature scale you want to convert to in the "To" dropdown. Enter the temperature value you want to convert in the input field. Click the "Convert" button to see the converted temperature.

Temperature Converter Preview

Dependencies

The app uses the following external dependencies:

JSON A JSON parser and generator for Java. (Used for parsing API responses.) API Usage The Currency Converter fetches real-time exchange rates from an API.

dotenv-java Environment based config for the JVM.

About

Java application that allows users to convert currencies and temperatures.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages