text: const mongoose = require('mongoose');
  
  
  const userSchema = new mongoose.Schema({
      name: {
          type: String,
          required :true
      },
      email: {
          type: String,
          required: [true, 'Email cannot be blank']
      },
      password: {
          type: String,
          required: [true, 'Password cannot be blank']
      },
      role: {
          type: String,
          required: true
      }
  
  })
  
  
  
  module.exports = mongoose.model('User', userSchema);