Created
November 7, 2019 16:28
-
-
Save ahmnouira/71fd478bdbcf1af87af9b956cc902d8a to your computer and use it in GitHub Desktop.
test code
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
const mongoose = require('mongoose'); | |
mongoose.connect('mongodb://localhost:3333/test_stagesIT', { useNewUrlParser: true, useUnifiedTopology: true } ); | |
mongoose.connection.on('connect', function(){ | |
console.log('** mongoose connect *** ') | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment