Create POST /api/users registration endpoint #25

Closed
opened 2025-11-20 22:10:26 +00:00 by KZix · 0 comments
Owner

Acceptance Criteria:

  • Accept email, nickname, name, password (min 3 chars), optional photo
  • Validate email format and uniqueness
  • Hash password securely (bcrypt/Argon2)
  • Return JWT token on success
  • Grant 10 welcome coins to new user
  • Return 400 on validation error with detailed messages
  • Return 409 on duplicate email
**Acceptance Criteria:** - [x] Accept email, nickname, name, password (min 3 chars), optional photo - [x] Validate email format and uniqueness - [x] Hash password securely (bcrypt/Argon2) - [x] Return JWT token on success - [x] Grant 10 welcome coins to new user - [x] Return 400 on validation error with detailed messages - [x] Return 409 on duplicate email
KZix added the featureapiauth labels 2025-11-20 22:10:26 +00:00
KZix added this to the Bisca - API project 2025-11-20 22:10:26 +00:00
KZix moved this to In Progress in Bisca - API on 2025-12-04 19:47:11 +00:00
KZix self-assigned this 2025-12-04 19:50:03 +00:00
KZix added reference feature/database-and-auth-api 2025-12-11 20:11:54 +00:00
KZix removed reference feature/database-and-auth-api 2025-12-11 20:41:34 +00:00
KZix added reference feature/register-api-endpoint 2025-12-11 21:13:37 +00:00
KZix moved this to Done in Bisca - API on 2025-12-11 21:16:18 +00:00
KZix closed this issue 2025-12-18 21:05:52 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SyntaxSquad/DADProject#25