challenges: WIP beginning challenges feature. some basic CRUD & some

basic subscribe / unsubscribe functional (but buggy)
This commit is contained in:
Tyler Renelle
2013-10-26 17:24:45 -07:00
parent e45d8307e7
commit fa25f3d300
16 changed files with 755 additions and 43 deletions
+1
View File
@@ -27,6 +27,7 @@ process.on("uncaughtException", function(error) {
mongoose = require('mongoose');
require('./models/user'); //load up the user schema - TODO is this necessary?
require('./models/group');
require('./models/challenge');
mongoose.connect(nconf.get('NODE_DB_URI'), function(err) {
if (err) throw err;
console.info('Connected with Mongoose');