We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a /signup route that creates a user with name, email and password_digest.
/signup
name
email
password_digest
Code only happy path; success returns JWT containing database user id. However, include params validation.
The text was updated successfully, but these errors were encountered:
#10
Sorry, something went wrong.
how to check if token is expired: https://github.com/jwt/ruby-jwt/blob/master/spec/jwt/verify_spec.rb#L64
EDIT: or rather this possibly: https://github.com/jwt/ruby-jwt/blob/master/lib/jwt/verify.rb#L39
Need to raise unhappy path ticket off the back of this. Probably cover:
format error responses for:
user
Error when attempting to signup with a duplicate email address
Yorkshireman
No branches or pull requests
Create a
/signup
route that creates a user withname
,email
andpassword_digest
.Code only happy path; success returns JWT containing database user id. However, include params validation.
The text was updated successfully, but these errors were encountered: