var config = require('./config');
var mongoose = require('./mongoose');

module.exports = function(){
	var db = mongoose.connect(mongodb://localhost/myapp);
	require('../models/allmodels.server.model');
	return db;
};

@@ -126,16 +126,8 @@
 ect(
-mongodb:
 //lo

Update mongoose.js