A Spring backend that exposes a GraphQL interface that allows user-management.
- pull this project
- navigate into
docu/docker
and rundocker-compose up -d
to create and start all required containers for this project (DB, ...)
query register {
registerUser(userDto: {
firstName: "first",
lastName: "last",
username: "username",
email: "user@mail.com"
}, password: "pw")
}
query login {
authenticateUser(email: "user@mail.com", password: "pw")
}
query updateUser {
updateUser(sessionToken: "0PDuouskqkS9G0mwqd4Pd", password: "pw", userDto: {
firstName: "newFirst",
username: "newUsername"
})
}
query findUser {
findUserById(userId: 1) {
username,
email
}
}