Download my CV
Jorge Chato

Server Build Status


  • openjdk8 or oraclejdk8
  • Apache Maven 3.3.9
  • git


$ git clone
$ cd Server

If you are using an IDE just import maven project and search for pom.xml


$ ./

Test with curl

$ curl -H "Content-Type: application/json" -H "Authorization: admin" -i http://localhost:8080/api/user # GET user by name
$ curl -H "Content-Type: application/json" -i http://localhost:8080/api/user/login --data '{"name":"test","password":"test"}' # POST login user
$ curl -H "Content-Type: application/json" -i http://localhost:8080/api/user/signup --data '{"name":"test","password":"test"}' # POST user named test and pass test
$ curl -H "Content-Type: application/json" -H "Authorization: <username>" -i http://localhost:8080/api/recipes # GET all recipes
$ curl -H "Content-Type: application/json" -H "Authorization: <username>" -i http://localhost:8080/api/recipe\?id\=78 # GET the recipe with id = 78