text: const mongoose = require('mongoose');
  
  require('dotenv').config();
  
  mongoose.connect(`${process.env.DB_CONNECTION}`, 
      {
      useNewUrlParser: true,
      useUnifiedTopology: true,
      useCreateIndex: true,
      useFindAndModify: true,
      }
  );
  
  module.exports = mongoose.connection;
  