thebradbain/nodejs-boiler — pull request #1 by theguestbook (2013-10-01 04:05:50+00:00)
Title: MongoDB 'private' configuration file

Note that all our source code is available for the world to see (Hello, world!).
Also note that we use a private database that requires authentication.

Thus by sharing **everything** we share our private passwords. Hence we have reached a dilemma.

###Solution?

There is a private file within mongoose-models, conf.js, that has purposely been added to .gitignore. Within this file is the password, username, and hostname used in mongoose.connect(host).

If you are not part of the 'official' team, merely create that file, create your own exports.host (point it to wherever), and continue happily. If you are part of the team, I will give you the hostname, password, and username.