Currency Converter web tool that uses one of the public currency converter APIs, The application is preconfigured to use Currency Layer and [Open exchange rates] (https://openexchangerates.org).
Application configurations are managed through the property file exchange.properties
.
Application is built using the following technologies:
Backend
- Java 8
- Spring (Boot, MVC, Security, Data)
- MongoLab
Frontend
- Node
- AngularJS, RequireJS and JQuery
Build
- Maven
- bower
Testing
- Junit and Spring-test for unit testing.
- Cucumber and selenium for acceptance testing.
Prerequisites
- Java 8
- Node
- bower
- Maven 3
Build and Run
-
First you need to download the front end dependencies using the bower:
bower install
-
Build the source code delivered in /currency-exchange by running:
mvn clean install
from the same folder (currency-exchange)
-
To start the application using in-memory database (mongo)
mvn clean install spring-boot:run -Dspring.profiles.active=test
-
To start the application using a cloud based mongo database
mvn clean install spring-boot:run -Dspring.profiles.active=development
-
After that you can access the application using the following URL:
http://localhost:8080
-
To login in the application the following user is pre-registered:
username/password: test123/Password1