It features full REST compliance and an embedded database.
- Maven
- JDK 8
To test simply type
$ mvn test
from the root directory.
To build and start the server simply type
$ mvn spring-boot:run
from the root directory.
You can see what urls are available using curl:
$ curl localhost:8080
You can view existing people objects using a similar request:
$ curl localhost:8080/merchantGoods
and can create new ones using a POST:
$ curl -X POST -H "Content-Type:application/json" -d '{ "name" : "Tooth brush", "price" : "1.75" }' localhost:8080/merchantGoods