☑Kizspy.me
{
"title": "Refactoring (2nd Edition)",
"author": "66211aaa12bcab1234567788",
"genres":["66211aaa12bcab1234567711", "66211aaa12bcab1234567722"],
"publishedYear": 2019,
"availableCopies": 6
Zoom
• Response Example:
{
"id": "6621bbaabbccdd1234567890",
"title": "Refactoring (2nd Edition)",
"author": "66211aaa12bcab1234567788",
"genres":["66211aaa12bcab1234567711", "66211aaa12bcab1234567722"],
"publishedYear": 2019,
"availableCopies": 6
Question 3 (2 points) - Register & Login a New User
Objective:
Implement both user registration and login functionality. Passwords must be hashed
before storage. JWT authentication must be used.
• Register
。 Endpoint: POST /api/users/register
+ 100%
- FUO
Close