text: 
  const mongoose =require('mongoose');
  const dotenv =require('dotenv');
  
  dotenv.config();
  
  
  exports.connectToDB =() =>{
  
  mongoose.connect(process.env.Url_DB,{useUnifiedTopology: true,useNewUrlParser: true},(error) => {
      if(error){
          console.log('error in db '+error.message);
      }
      else
      {
          console.log('connect to database');
      }
  })
  }