ChickenKyiv / loopback-tutor-intern-8

https://loopback-react-account.herokuapp.com/
https://groceristar.netlify.com/
GNU General Public License v3.0
0 stars 1 forks source link

email notifications - sign up, forgot #3

Open atherdon opened 6 years ago

atherdon commented 6 years ago

will later provide more details.

https://github.com/ChickenKyiv/recipe-api-only/blob/master/server/models/menu.js#L11

https://github.com/ChickenKyiv/recipe-api-only/blob/master/server/datasources.trash.json#L12

https://github.com/ChickenKyiv/recipe-api-only/blob/master/package.json#L36

atherdon commented 6 years ago

did data that i shared it's enough for this task? if you need more help - tell me

chauhannishith commented 6 years ago

I will tell you if I get stuck anywhere

atherdon commented 6 years ago

maybe will be useful https://loopback.io/doc/en/lb3/User-REST-API.html

atherdon commented 6 years ago

@chauhannishith check that links again - i post stuff about mailgun there

chauhannishith commented 6 years ago

https://support.google.com/mail/answer/7126229?visit_id=0-636591238923869062-3206721264&rd=2#cantsignin check this Also it does not allow me to log in because it is not a recognized device. If you are free and can tell me the confirmation code then i can make those changes

atherdon commented 6 years ago

got it. check it right now. btw, why for now we didn't tried your gmail? :)

atherdon commented 6 years ago

i add you as trusted acc. try again. also enabled a less secure way. google is so paranoid

chauhannishith commented 6 years ago

my both gmail accounts are linked to bank and tax stuff so i felt it a bit risky to put the details here as it is an open repository

atherdon commented 6 years ago

got it, no problem

chauhannishith commented 6 years ago

Email for signup and forgot password works now(shifted to using ethereal.email as it was a little cumbersome to delete the record and signup again with same CORRECT details, you can look at the username and password in datasources.json and try yourself) but now will have to implement server-side rendering as response from server doesn't work with react routing. Will try to look at how to do that and then start with third-party login