const mongoose = require('mongoose')
const mongoDbUri = `mongodb+srv://codemarkcodes:JMUIQSGuDM4NQZPP@cluster0.ykizrqe.mongodb.net/clarke-music`
const connectionWithDb = () => {
mongoose.connect(mongoDbUri).then(err => {
console.log('Connected to mongodb')
})
}
module.exports = connectionWithDb