- this is for windoes only (i didn't bother to make it work on other platfrom, even if it's just pointing out to different generaotrs)
- you have maven installed
- you have java v1.8 or above
- git clone https://github.com/galosa/exerecise.git
- cd exercise
- mvn clean install
- java -jar target\exercise-0.0.1-SNAPSHOT.jar
when it's up, you can surf to the following urls:
Show all events statistics including thier words
Show the event statistics of a certain event type.
Show the event statistics of a certain event type and a certain word
- http://localhost:8080/stats/events/{eventType}/{word}
- i.e.:
- http://localhost:8080/stats/events/foo/amet
Show all words statistics (combined from all events)
Show a certain word statistics (combined from all events)