Last active
September 11, 2019 16:19
-
-
Save kavinduchamiran/a932757b1a9e1516dc301f668785401c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mongoose | |
.connect( | |
`mongodb://mongodb-service/cloudl`, { | |
useNewUrlParser: true, | |
useUnifiedTopology: true | |
}) | |
.then(() => console.log("MongoDB successfully connected")) | |
.catch(err => console.log(err)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment