This project is the frontend for the Exchange Rate Portal, a web application that provides functionalities for viewing ECB exchange rates, historical exchange rates, and currency conversion. The frontend is built with Angular and Bootstrap.
-
Displays the latest exchange rates fetched from the Bank of Lithuania.
-
Provides links to view historical exchange rates for each currency.
- Displays the historical exchange rates for a selected currency.
- Supports pagination for easy navigation through historical data.
- Allows users to enter an amount and select currencies to convert between.
- Displays the converted amount using the latest exchange rates.
In case the ```lb.lt`` server does not have historical rates available to display, a respective message is delivered to the user in the UI. Example: "No exchange rates found for currency: XOF"
.
- Framework: Angular 18
- CSS Framework: Bootstrap
- IDE: IntelliJ IDEA
Ensure you have Node.js and Angular CLI installed:
npm install -g @angular/cli
git clone https://github.com/5OO/exchange-rate-portal-fe-angular
cd exchange-rate-portal-fe-angular
Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files. Further Help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
The frontend communicates with the Java backend service to fetch exchange rates and historical data. The ECB rates are retrieved from the Bank of Lithuania server using a Quartz cron job scheduled to run every afternoon, as specified in the Quartz properties file.
Backend source: Exchange Rate Portal Backend
Exchange rates are pulled from the Bank of Lithuania server: Bank of Lithuania FX Rates Historical rates source: getFxRatesForCurrency
Code is stored at GitHub: exchange-rate-portal-fe-angular