raneem-yad / wissen

0 stars 1 forks source link

user authentication #1

Closed raneem-yad closed 1 month ago

raneem-yad commented 2 months ago

User Story

Metadata Description
Theme Account Management
Epic User Authentication
User Story user authentication

Description

As a backend developer, I want to design and implement APIs for user authentication including sign-up, So that users can securely access their accounts.

Acceptance Criteria

  1. The API should include endpoints for user sign-up, login and logout.
  2. User sign-up endpoint should require parameters such as username, email, and password.
  3. Users should be able to log in using their credentials (username/email and password).
  4. The API should validate user credentials and return an authentication token upon successful login.
  5. Users should be able to log out, which invalidates their authentication token.

Tasks