Sample project implementing an FX price handler, newest market price is coming in from MQ feed in CSV format, we want to expose the latest received price (per currency pair) via REST.
To build and run the application you need the following:
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main
method in the com.interview.marketpricehandler.MarketPriceHandlerApplication
class from your IDE.
Alternatively you can use the Spring Boot Maven plugin like so:
mvn spring-boot:run
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
The following guides illustrate how to use some features concretely: