Skip to main content

Currency Converter

A Java-based command-line tool that provides real-time currency conversion between USD, Argentine Peso, Brazilian Real, and Colombian Peso using live exchange rates.

$ java ConversorApp
1) USD → ARS
2) ARS → USD
3) USD → BRL
4) BRL → USD
7) History

Quick Start

Get up and running in three simple steps

1

Clone and compile the project

Clone the repository and compile the Java source files with the Gson dependency.
Terminal
git clone https://github.com/crespitosoff/Conversor_de_Moneda_Challenge_ONE_Java_Backend.git
cd Conversor_de_Moneda_Challenge_ONE_Java_Backend
javac -cp "lib/gson-2.10.1.jar" -d out src/lad/com/alura/conversormoneda/**/*.java
2

Run the converter

Launch the interactive menu to start converting currencies.
Terminal
java -cp "out:lib/gson-2.10.1.jar" lad.com.alura.conversormoneda.controladores.ConversorApp
The application will display an interactive menu with conversion options and history tracking.
3

Select a conversion

Choose from six conversion pairs or view your conversion history.
Elija una opción válida: 1
Ingrese el valor que desea convertir: 100
El valor es: 9850.0 [ARS]

Explore by Topic

Everything you need to use and understand the Currency Converter

Using the Converter

Learn how to perform currency conversions with the interactive menu interface

Conversion History

Track and view your conversion history with timestamps

Supported Currencies

Explore the supported currency pairs and exchange rates

Architecture

Understand the MVC pattern and object-oriented design

Technical Resources

Deep dive into the technical implementation

API Integration

How the ExchangeRate-API integration works

Code Structure

Explore the package structure and classes

Building

Compile and run the project locally

Ready to start converting?

Follow the quickstart guide to get the Currency Converter running in minutes

Get Started Now

Build docs developers (and LLMs) love