mongodb localhost url code example
Example 1: mongo db local connection url
mongodb://localhost:27017/mydbname
Example 2: mongoose connection node
mongoose.connect('mongodb://localhost/myapp', { useNewUrlParser: true, useUnifiedTopology: true });