Skip to content

Instantly share code, notes, and snippets.

@ahmnouira
Created November 7, 2019 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmnouira/71fd478bdbcf1af87af9b956cc902d8a to your computer and use it in GitHub Desktop.
Save ahmnouira/71fd478bdbcf1af87af9b956cc902d8a to your computer and use it in GitHub Desktop.
test code
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