forked from boolean-uk/team-dev-client-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Problem Description
When a new user wants to sign up, the email address and password input from the user has to be validated in the client.
If the input meets the acceptance criteria, the data will be sent to the server. Validation will happen on the server as well to check for duplicate emails.
If any check fails, a user friendly message will be displayed in accordance with the error. As an example: If username/email address already in use: "Email already exists. If account already exist try to log in, or change email.
Required Changes
- What needs to be changed?:
- create methods in client to validate user input, create a pop up message if the check fails
- create new method in server to check for duplicate email
- What is the goal? : create a new user if input is valid and send user to email-verification screen. Display a message if input is invalid.
Acceptance Criteria
- The email address must not already be in use
- The email address must be in a valid format (e.g. abc@abc)
- The password should not be less than 8 characters in length
- The password should contain at least one uppercase character
- The password should contain at least one number
- The password should contain at least one special character
Dependencies
-Backend:
Json object sent to the API:
{
email: String,
password: String
}
-Database:
Check for duplicate emails
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done