Hello, I am a little stuck and have a quick question.I am trying to implement a simple login/signup page in my node.js application. Currently I am developing it locally but I also plan on pushing it to azure to be able to show it live. However, all the passport tutorials show how to use passport-local and have your db locally with the user and pass info saved there. I have a db hosted on mongolab which I can connect to but how do I integrate passport.js with a remote mongolab connection? I want the user data to be sent to the mongolab db and saved there not locally. That way when I come to pushing my app to azure I can show it live instead of having it local.Hope that makes sense any help would be great!
Submitted March 02, 2016 at 06:46PM by BangyOnABongy
No comments:
Post a Comment