- Maven
- JDK 7
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 notes objects using a similar request:
$ curl localhost:8080/api/notes
and can create new ones using a POST:
$ curl -X POST -H "Content-Type:application/json" -d '{ "body" : "I am a note"}' localhost:8080/api/notes