- Install Git (Git SCM)
- Install Java Standard Edition Development Kit 8 (Oracle or OpenJDK)
- Install Maven 3 (Apache Maven Project)
git clone git@github.com:imedvedko/spring-data-jpa-example.git
cd spring-data-jpa-example
mvn clean package
java -jar target/registrator.jar
See:
You can send HTTP POST JSON message with password to
http://localhost:8080/v1/user
cURL example:
curl -H "Content-Type:application/json" -d "{\"password\":\"\"}" http://localhost:8080/v1/user
Response:
{"id":"1"}