Inside server.js (Lines 22-25) it should look like this: // Connect to our mongo database mongoose.connect('mongodb://localhost/react-tweets', { useMongoClient: true, }); See more here: http://mongoosejs.com/docs/connections.html#use-mongo-client
Inside server.js (Lines 22-25) it should look like this:
// Connect to our mongo database
mongoose.connect('mongodb://localhost/react-tweets', {
useMongoClient: true,
});
See more here: http://mongoosejs.com/docs/connections.html#use-mongo-client