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

Implement user Signin feature #7

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

jenniekibiri
Copy link
Contributor

Description of Task to be completed

The the pull request will handle the user login, the users password is compared with the password stored in the db,if the password match the a token is returned else respective error message is thrown

How should this be manually tested?

test the route using postman

Route

http://localhost:3000/auth/signin

user details

{
"email":"user@gmail.com",
  "password":"pas12345"
}

…user typed password matches with the stored password, gives respective errors and return a token if the password matches
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

Successfully merging this pull request may close these issues.

1 participant