Navprayas-A-group-of-Innovative-thought / Assignment

2 stars 1 forks source link

Assignment 5 : Integrating passport js #10

Open kena421 opened 4 years ago

kena421 commented 4 years ago

Using Local Strategy use code from starter backend branch

userModel : {
firstName : string
lastName : string
email : unique
password : string
}

.create an api for registering also show errors if you get errors in registering POST /signup input :userModel response : error or success msg

create an api for login POST /signin input : email, password

response : error or success msg

update in README.md and describe how to connect to your api.

ashutoshkrris commented 4 years ago

I have pushed the code..please check once and rectify the mistakes. @kedar170123023

kena421 commented 4 years ago

I have pushed the code..please check once and rectify the mistakes. @kedar170123023

bugs and suggestions try to work without using passport-local-mongoose package not working for me README.md not documented how to use this code

ashutoshkrris commented 4 years ago

Okay, I shall fix the problems asap

ashutoshkrris commented 4 years ago

I have pushed some changes . @kedar170123023 Could you please verify if it's working? For me, it's working. Attaching the screenshots below :

Screenshot (74) Screenshot (75) Screenshot (73)