Skip to content
Snippets Groups Projects
Commit 1db1cf63 authored by Guillaume Vagner's avatar Guillaume Vagner
Browse files

removed mongoose

parent dbad761e
No related branches found
No related tags found
No related merge requests found
const mongoose = require('mongoose');
mongoose.Promise = global.Promise;
mongoose.connect('mongodb://localhost/botday', { useNewUrlParser: true })
.then(() => console.log('[mongoose] Connection succesful'))
.catch((err) => console.error(err));
module.exports = mongoose;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment