TU Wien, Autumn 2017
.. is a deck-building multiplayer game.
Name: Ulrike, Schaefer\
Name: Johannes, Trippl\
Name: Sabrina, Kall\
Name: Alex, Nachname\
Name: Paul, Pinterits\
Name: Sahab, Nachname\
cd path/to/proj_ws17_sepm_qse_04
./mvnw clean compile test install
java -jar server/target/Dominion-Server-0.0.1-SNAPSHOT.jar
java -jar client/target/Dominion-Client-0.0.1-SNAPSHOT-jar-with-dependencies.jar
returns all users saved in db
curl --request GET \
--url http://localhost:8080/user/all
returns a user with id=1
curl --request GET \
--url 'http://localhost:8080/user/byid?id=1'
add a user called Saruman
curl --request POST \
--url http://localhost:8080/user/add \
--header 'content-type: application/json' \
--data '{"username":"Boromir","password":"pwpwpw"}'
authenticate against the server
curl --request POST \
--url 'http://localhost:8080/auth' \
--header 'content-type: application/json' \
--data '{"username":"Boromir","password":"pwpwpw"}'
start server and client via scripts! running compile and install server throws an error (test @ client) - ignore it for now - server works, client tests do too!