Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

connecting mongoose with express js

const mongoose = require('mongoose');
mongoose.connect('mongodb://localhost:27017/test', {useNewUrlParser: true, useUnifiedTopology: true});
Source by mongoosejs.com #
 
PREVIOUS NEXT
Tagged: #connecting #mongoose #express #js
ADD COMMENT
Topic
Name
8+2 =