This application contains a J2SE web server to capture events & Angular UI to display them.
mvn package
Unzip target/subscriber-2.0.zip
in your destination directory
/subscriber-2.0
/angularUI
/lib
/postman
startServer.sh
$ ./startServer.sh <port> with default port=9000]
Requests are persisted in tmp
- POST -
/event
: Event creation - GET -
/history
: List all events - DELETE -
/history
: Delete all events - GET -
/current
: Get the last event
import postman/subscriber.json.postman_collection to play with subsciber api
Open ui/index.html