Skip to content
New issue

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

Login/Signup #1

Open
ravi11o opened this issue Aug 4, 2020 · 0 comments
Open

Login/Signup #1

ravi11o opened this issue Aug 4, 2020 · 0 comments

Comments

@ravi11o
Copy link
Collaborator

ravi11o commented Aug 4, 2020

Implement user's login and signup using JWT authentication

Each user must have

  • email(unique)
  • name
  • username(unique)
  • password

Optional fields are

  • image
  • bio

Upon successful registration/login on the server end, client must receive a JWT token.
The JWT token should be encoded using user's ObjectId, username and email.

You must design endpoints for signup, login, current-user and profile fetch/update on your own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant