-
In application properties change the 18th line spring.datasource.password to your password from your postgreSQL database
-
Run the application
-
In the browser go to http://localhost:8081/swagger-ui/index.html#/
-
In the search pannel type /auction
-
Go to registration Controller and under post method create a new user
-
Then click on the authorize button and type credentials of that user
-
Now you can use all methods, go to Account Controller and create an Auction Ad under the /ad POST METHOD
-
Go to /bet/{productId} POST METHOD to make the first bet
-
If after 3 minutes new bet was not made the deal is closed