Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. mongoose
  2. .connect(
  3. `mongodb://mongodb-service/cloudl`, {
  4. useNewUrlParser: true,
  5. useUnifiedTopology: true
  6. })
  7. .then(() => console.log("MongoDB successfully connected"))
  8. .catch(err => console.log(err));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement