fjborquez / aang

0 stars 0 forks source link

Register User Profile Data Manually #3

Closed Norbbs closed 6 months ago

Norbbs commented 7 months ago

As a Data Owner I want to Register Data User Profile Manually So that asure secure login and authentication and will help make the user information more comprehensive

Definition Of Ready (DoR)

Definition Observations
  • - [x]
The story meet the INVEST and SMART criteria
  • - [x]
Dependencies identified and resolved
  • - [x]
Written acceptance criteria with test scenarios, understood by the team and agreed upon
  • - [x]
The user story was understood and agreed upon in a refinement session with the dev team
  • - [x]
The team has an idea of how to make the demonstration of the finished story

Scope

  1. Create a form with the following fields:

    • Date Of Birth (date)
    • Is Vegetarian (boolean)
    • Is Vegan (boolean)
    • Is Celiac (boolean)
    • Is Keto (boolean)
  2. Create endpoints for user profile registration

    • Create a database
    • Create a table user profiles with the fields mentioned in the part 1 adding PK: id and FK: user_id (from users table) 1:1 relationship
    • Create an endpont for creation
    • Create the controller

Out of scope

  1. update, delete and other non-creation processes.
  2. not including profile registration.
  3. not including login.

Acceptance Criteria

AC GIVEN WHEN THEN
  • - [x]
1 Register an user profile successfully User profile data fields are filled up correctly press on register button the information will be saved successfully
  • - [x]
2 User registry fails for lack of date of birth field Date of birth field is missing (null or empty) press on register button an error message will appear and the data won't be saved successfully
  • - [x]
3 User date of birth incorrect format Date of birth field is incorrect (not a valid date format) press on register button an error message indicating the incorrect date format longer will appear and the data won't be saved successfully
  • - [x]
4 Future user date of birth future date of birth press on register button an error message won't allowed future dates and the date won't be saved successfully.
  • - [x]
5 Boolean fields is vegeratian, is vegan, is celiac and is keto fields press on register button the information will ve saved successfully with any combination of these fields (true or false)

Definition of Done (DoD)

Definition Result
  • - [x]
All acceptance criteria have been met
  • - [x]
No significant or critical defects
  • - [x]
Deskcheck ceremony has been made
  • - [x]
Keep minimum test coverage of 80% over the necessary code and components
  • - [x]
Technical documentation published
  • - [x]
Spike, PoC or benchmarks findings documented
fjborquez commented 7 months ago

Backend creado, falta el front.