chernser/DummyREST — pull request #1 by amokan (2012-08-23 06:05:54+00:00)
Title: Develop

No need to take this pull, but some things may be of interest.

Moved MongoDb host, port, auth, and other settings from app_storage.js to config.js.

Added a function in app_storage.js to create a `'mongodb://'` style URL with a passed in dbConfig object to make switching over towards a `db.connect(url)` approach easier if you go down that path.

There are still some problems and my handling of `db.authenticate()` is very poor with the if/else block.

I also apologize for the code formatting changes. I found a mix of 2 and 4 space tabs when I forked. I was also testing a code commenting tool while messing with this, which will explain the formatting above various functions.