text: const mongoose = require("mongoose");
  const Schema = mongoose.Schema;
  const passportLocalMongoose = require("passport-local-mongoose");
  
  const UserSchema = new Schema({
    username: {
      type: String,
      required: true,
      minlength: 5,
      maxlength: 50
    },
    email: {
      type: String,
      required: true,
      minlength: 5,
      maxlength: 255,
      unique: true
    }
  });
  
  UserSchema.plugin(passportLocalMongoose);
  
  module.exports = mongoose.model("Users", UserSchema);
  