Closed mndzamel closed 2 years ago
There isn't any API endpoint for registering new users. I will work on that. For this issue, you can just make up some endpoint and response data until I get the endpoint actually implemented.
Here is the final list or all the requirements, let me know if I missed anything:
Registration form:
Check for required fields, valid email syntax, password length
You do not have to do this in the frontend. The backend already verifies required fields and data formats. It will respond with a 400 status code if something is incorrect.
That being said, you can still do these checks in the frontend too if you want. It would probably feel nicer for the user since it'd be more responsive (if solely relying on the backend, they wouldn't know something is wrong until they press the submit button).
Implemented by #63
Create the component for a registration form. Allow the user to make a new account with an email and password. Include fields for email, password, and confirm password. 2 parts: