var express = require('express');
var app = express();

var port = process.env.PORT || 3000;

require('./config/middleware.js')(app, express);

app.listen(port);

console.log('server listening on ', port);

@@ -52,46 +52,298 @@
 ();%0A
-%0Avar port = process.env.PORT %7C%7C 3000;%0A
+var mongoose = require('mongoose');%0Avar USERTEST = require('./routes/users/usersController.js');%0Avar port = process.env.PORT %7C%7C 3000;%0Amongoose.connect('mongodb://localhost:27017');%0Amongoose.connection.once('open', function() %7B%0A  console.log(%22Connected to mongoDB%22);%0A  USERTEST.signup();%0A%0A%7D)
 %0Areq

add MongoDB connection