const mongoose = require("mongoose");
const mongoDbUri = 'mongodb+srv://codemark:Ryzen0296@cluster0.n0rgkru.mongodb.net/billhess'
// mongodb+srv://codemark:<db_password>@cluster0.n0rgkru.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0
const connectionWithDb = async () => {
await mongoose.connect(mongoDbUri)
console.log('Connected to mongodb')
}
module.exports = connectionWithDb;