Sunday, 7 February 2016

Where do I put all my connections password and URL?

I want to commit my stuff to github. I got node_module in .gitignore but my app.js has my mongoose connections. I have deployed my dB online so it required my username and password. I don't wish to commit that into app.js. I am new to node so what are the alternatives to this situations?

Submitted February 08, 2016 at 01:27AM by rosedye

No comments:

Post a Comment