786 B
786 B
Prices web service (web-price)
Web service for obtaining the price of a product given a date, the product id and the brand id.
Requirements
- Java 21
- Maven
Development
- Local installation of the project
mvn clean install - Run the app from the project root with:
or navigating to themvn clean spring-boot:run -pl boot -Dspring-boot.run.profiles=localbootdirectory of the project:mvn clean spring-boot:run -Dspring-boot.run.profiles=local - Service should be ready to receive requests at http://localhost:8080/price with OpenAPI docs available at http://localhost:8080/swagger-ui/index.html
Running Tests
To run all tests in the project:
mvn test