Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

mongoose setup

// getting-started.js
const mongoose = require('mongoose');
mongoose.connect("mongodb://localhost:27017/name", { useUnifiedTopology: true, useNewUrlParser: true });
Source by mongoosejs.com #
 
PREVIOUS NEXT
Tagged: #mongoose #setup
ADD COMMENT
Topic
Name
7+7 =