To run this project:
mvn package
java -jar target/runninglive-1.0-SNAPSHOT.jar
Then just point your browser to http://localhost:8080 (use login : aurelien/4ur3l13n).
src/main/resources/import.sql is used to init the database when the application starts.
curl -u "aurelien:4ur3l13n" http://localhost:8080/
curl -u "aurelien:4ur3l13n" http://localhost:8080/users
curl -u "aurelien:4ur3l13n" http://localhost:8080/users/1
curl -u "aurelien:4ur3l13n" http://localhost:8080/users/1/participations
curl -u "aurelien:4ur3l13n" -H 'Content-Type: application/json' -X PUT -d '{"username": "jean-patrick"}' http://localhost:8080/users/2