Group project for Laboratory of Advanced Programming at Sapienza University
Link to user stories spreadsheet: https://docs.google.com/spreadsheets/d/1GdNLgZRrfuZ5uAR3s8YT4Wfu3lsXiVNEBoZCZP2jxYA/edit?usp=sharing
Link to one of the biggest Agile experts explaining how to write user stories: https://www.mountaingoatsoftware.com/agile/user-stories
Simply run
docker compose up --no-deps --build
when you are done with the process simply run
docker compose down
and again the command above to reset the containers from scratch
POST /api/auth/signinfor obtaining the JWT Bearer Token to use for authentication (unauthenticated)
{
"username": "leonardo",
"password": "password123"
}
POST /api/auth/signupfor signing up a new user (unauthenticated)
{
"username": "leonardo",
"email": "[email protected]",
"password": "password123",
"firstName": "Leonardo",
"lastName": "Idone",
"telephoneNumber": "3468553816",
"role": ["BUYER"]
}
PATCH /api/userto edit a user's information, all fields are optional (authentication required)
{
"email": "[email protected]",
"firstName": "Mario",
"lastName": "Rossi",
"telephoneNumber": "1234567890"
}
POST /api/user/pictureas form-data file to post a profile picture (authentication required)GET /api/user/{id}/pictureto get user profile picture as attachment (unauthenticated)