Angular Currency Converter/Calculator
Working with latest Angular 8.
This project was generated with Angular CLI version 8.0.6.
Used localStorage to limit number of requests to api endpoint.
Default base conversion currency is EUR (Euro)
npm install
to install packages.Run ng serve
for a dev server. Navigate to http://localhost:4200/
.
/src
- source folder, has the general Angular CLI project structure.
/app
- contains AppComponent along with the following subfolders:
/currency-converter
- Currency Converter feature module and related components, models, etc../exchange-rates
- Exchange Rates feature module and related components, models, etc../about
- About feature Module, contains component/page with instructions for setup and installation/shared
- Shared Module, contains shared services and other shared elementsOn first load, application displays welcome message.
On successful load, application navigates user automatically to Exchange Rates page where user can select base currency and filter quote currencies.
Clicking on quote currency navigates user to Currency Converter where user can enter desired amount to convert. Currency select form fields are prepopulated but user can make its own selection of currency.
Clicking on Convert button Conversion Details section is displayed with resulting amount and exchange rates of selected currencies.
Additionaly, user can swap currencies by clicking on Reverse icon button located between currency select form fields.