This small RESTful API allows users to convert currencies.
Application uses current currency rates from NBP API.
Application requires Maven installed. To start building proccess write command:
mvn clean install
After that start application with the following command:
java -jar target/*.jar
Users can send POST reqests to localhost:8080/exchange
with the following JSON format request body:
{
"amount": "1000",
"sourceCurrencyCode": "EUR",
"targetCurrencyCode": "USD"
}