[AUTH] - Register a new user with email and password
AndrewAllison opened this issue · comments
Overview
Allow a new user to be registered with their details and a valid email.
Criteria
Scenario 1 - Register a new user
- A user provides a valid email, first and last name and a password
- The system adds the user to the database and stores an encrypted version of the password.
- The API returns a success status
Scenario 2 - Register with an existing email
- A user provides details that include an already existing email
- There should be no details saved in the database
- The API should return a bad request status