-
Install postgres
-
Create user
dbuser
with passwordpass
-
Create database request-counter
createdb -U dbuser -O dbuser request-counter
-
Run app using command
gradlew bootRun
Call test method
GET localhost:8080/
If you exceed 100 requests per hour, you'll get HTTP 429. Otherwise you'll get text "OK"