@ -2,6 +2,14 @@ const mongoose = require("mongoose");
const userSchema = new mongoose.Schema({
firstName: {
type: String,
required: [true, 'First Name is Required']
},
lastName: {
required: [true, 'Last Name is Required']
email: {
required: [true, "Email is required!"]