connect-mongo example
Example 1: connect to mongo database
mongoose.connect(mongoURI);
Example 2: connect to mongodb
const MongoClient = require('mongodb').MongoClient
mongoose.connect(mongoURI);
const MongoClient = require('mongodb').MongoClient