AS Maria, basic userI WANT TO register a new account
SO THAT I CAN create an account and access my dashboard view
Functional specifications (FORM)
After discovering the features of the projet, Maria clicked on the link "doesn't have an account yet ?" on LOGIN section. This form must allow every new coming users to be able to easily create their own account and start using application.
Form rules:
Field
Placeholder
Pattern
Required
Constraints
username
username
alpha-numeric
✓
size(6-12) - unique
email
example@mail.com
email
✓
size(?-60) - unique - email
birth date
min majority date
Date
✓
must be adult
avatar
"unknown" picture
icon-picker
✓
must be contains in avatars' list
password
***
alpha-numeric
✓
size(6-20) StrongPassword*
confirm password
***
alpha-numeric
✓
"password" must match
usage terms
unchecked
slider-toggle
✓
must be checked
StrongPassword*: the input must contains at leat 1 upper & 1 lower character, and 1 digit
Acceptance criteria
[x] the submit button will be disable until all fields are valid
[x] The spinner loader must appear during HTTP transfers to indicate the attempt of creation.
[x] If an error occurred, the inputs highlight in red and the error message will show in a notification explaining which input is wrong.
[x] If no errors occurred, the user is redirected to dashboard view without further confirmation
Register new account
Functional specifications (FORM)
Form rules:
Acceptance criteria