- JDK 8
- Maven 3
On the project directory, run:
> mvn package
On the project directory, run:
> mvn test
On the project directory, run:
> java -jar target/assignment-0.1.jar
You can use http://getpostman.com to use the services. The application runs on localhost:8080 and it has the following endpoints:
You can use the data below in the body of service for testing
- data 1: eyJuYW1lIjoiSm9obiIsImFnZSI6MzAsImNpdHkiOiJVdHJlY2h0In0
- data 2: eyJuYW1lIjoiSm9obiIsImFnZSI6MzEsImNpdHkiOiJVdHJlY2h0In0
- data 3: eyJuYW1lIjoiSm9obiIsImFnZSI6MzAsImNpdHkiOiJJSnNzZWxzdGVpbi9VdHJlY2h0In0=