Answers for "mong db connect error"

0

mong db connect error

// for mongodb atlas
mongoose.connect(
  "mongodb+srv://<username>:<password>@cluster0.88kbv.mongodb.net/<project_name>?retryWrites=true&w=majority",
  {
    useNewUrlParser: true,
    useUnifiedTopology: true,
    useCreateIndex: true,
    useFindAndModify: false,
  }
);
Posted by: Guest on July-28-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language