summaryrefslogtreecommitdiffstats
path: root/examples/nodejs-mongodb-mongoose-restify/configSample.js
diff options
context:
space:
mode:
authorbrandon flowers <brandonflowers@gmail.com>2013-05-04 13:38:54 -0400
committerbrandon flowers <brandonflowers@gmail.com>2013-05-04 13:38:54 -0400
commit5986b9a64d1ebc19c2347593edd2cd33d634bace (patch)
treec883a10790b2a7a1df583cb09e1873a684a3763c /examples/nodejs-mongodb-mongoose-restify/configSample.js
parent404bea77ec9d8d23a94b4ee9e0d643b4871773d6 (diff)
downloadbackbonetutorials-5986b9a64d1ebc19c2347593edd2cd33d634bace.zip
backbonetutorials-5986b9a64d1ebc19c2347593edd2cd33d634bace.tar.gz
backbonetutorials-5986b9a64d1ebc19c2347593edd2cd33d634bace.tar.bz2
updates to restify example to add tests and Yeoman support
Diffstat (limited to 'examples/nodejs-mongodb-mongoose-restify/configSample.js')
-rw-r--r--examples/nodejs-mongodb-mongoose-restify/configSample.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/nodejs-mongodb-mongoose-restify/configSample.js b/examples/nodejs-mongodb-mongoose-restify/configSample.js
new file mode 100644
index 0000000..f6c58a6
--- /dev/null
+++ b/examples/nodejs-mongodb-mongoose-restify/configSample.js
@@ -0,0 +1,8 @@
+// Don't commit this file to your public repos
+exports.creds = {
+ // Your mongo auth uri goes here
+ // e.g. mongodb://username:server@mongoserver:10059/somecollection
+ // nationalpark is the name of my mongo database
+ mongoose_auth_local: 'mongodb://localhost/nationalpark',
+ mongoose_auth_jitsu: 'copy and paste your unique connection string uri from the nodejitsu admin'
+}