Skip to content

vstark1327/Currency-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’± Currency Converter

The Currency Converter is a web application that allows users to convert amounts between different currencies in real time. It retrieves up-to-date exchange rates using an internal finacc-forex.jar library and performs currency conversion logic on the backend. The results are then displayed in the frontend UI.


πŸ”§ Technologies Used

  • Java
  • Spring Boot
  • finacc-forex.jar – Internal library for fetching forex rates
  • Maven – Project management and build tool
  • HTML/CSS/Thymeleaf

πŸ“¦ How It Works

  1. Rate Retrieval:
    The application uses the internal JAR file finacc-forex.jar to fetch exchange rates between supported currencies. The exchange rates are cached in memory using Spring's caching mechanism (forexRates cache). This reduces unnecessary calls to the forex API and improves performance. A scheduled task evicts the cache every hour, ensuring rates stay reasonably up-to-date.

  2. Conversion Logic:
    Once the user inputs an amount and selects source and target currencies, the backend calculates the converted value using the rates provided by finacc-forex.jar.

  3. Frontend Display:
    The converted amount is returned to the frontend and displayed to the user instantly.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors