DISCLAIMER: Was implemented for a (failed) job interview - It contains bad code and is not maintained - DO NOT REUSE
Run mvn clean package && mvn spring-boot:run
from the command line
-
To see today's foreign conversion rate from EUR to the currency of your choice, go to: http://localhost:8080/api/getConversionRate?currency=<ISO4217-currency-code>
-
To see a past (max. 90 days) foreign conversion rate from EUR to the currency of your choice, go to: http://localhost:8080/api/getPastConversionRate?currency=<ISO4217-currency-code>&date=<yyyy-mm-dd>