Open JColonJr opened 2 years ago
Creates a new user, logs them in as the current user, and returns the current user's information.
[ ] New user exists in the database after request
[ ] Successful response includes newly created id, firstName, lastName, username, email, and token
[ ] Error response with status 403 is given when the specified email already exists
[ ] Error response with status 400 is given when body validations for the email, username, firstName, or lastName are violated
Creates a new user, logs them in as the current user, and returns the current user's information.
[ ] New user exists in the database after request
[ ] Successful response includes newly created id, firstName, lastName, username, email, and token
[ ] Error response with status 403 is given when the specified email already exists
[ ] Error response with status 400 is given when body validations for the email, username, firstName, or lastName are violated