SDN302_-_PE_-_SP_2025_-_Block_5_3837.webp
Y

SDN302_-_PE_-_SP_2025_-_Block_5_3837.webp

  • Media owner Yuji99
  • Ngày thêm
☑Kizspy.me
}
"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
• Processing Requirements:
■ Validate that email is unique.
"
Hash password using bcrypt.
o Request Example:
Zoom
+ 100%
{
"name": "Alice",
Close
Chưa có bình luận nào.

Thông tin

Category
SDN302
Thêm bởi
Yuji99
Ngày thêm
Lượt xem
275
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom