Skip to content

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":"[email protected]",
  "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