This is a Java project that helps you find prices for various products.
To use this project, you need to have Java installed on your machine. You can download Java from here.
-
Clone this repository to your local machine.
git clone
-
Build the project using Gradle:
./gradlew build
-
Run the application using Gradle:
./gradlew run
You can either go to https://price-finder.fly.dev/swagger-ui/index.html#/price-controller/getApplicablePrice or http://localhost:8080/swagger-ui.html to access the swagger docs or use the following example:
@brandId = 1
@productId = 35455
@applicationDate = 2020-06-14T10:00:00.000Z
@apiUrl = http://localhost:8080
GET {{apiUrl}}/api/prices?brandId={{brandId}}&productId={{productId}}&applicationDate={{applicationDate}}