Build&run is maven based:
mvn spring-boot:run
App has three endpoints:
-
to increment a counter (POST): http://localhost:9000/counter/{counter}/increment
-
to query a counter value (GET): http://localhost:9000/counter/{counter}
-
to query all the counters (GET): http://localhost:9000/counter
App is currently deployed on Heroku:
-
to increment a counter (POST): https://salty-inlet-58034.herokuapp.com/counter/{counter}/increment
-
to query a counter value (GET): https://salty-inlet-58034.herokuapp.com/counter/{counter}
-
to query all the counters (GET): https://salty-inlet-58034.herokuapp.com/counter