Mongoose konfigurują lokalnie
mongoose.connect('mongodb://username:password@host:port/database?options...', {useNewUrlParser: true});
Unusual Unicorn
mongoose.connect('mongodb://username:password@host:port/database?options...', {useNewUrlParser: true});