Nom:{type:String, required :true},
Prenom:{type:String, required :true},
Birthday: Date,
Gender:{type:String,
enum:"homme"||"Femme"
},
Email: {type:String, required :true},
States:{
type:String},
/* enum:"ariana","beja" "benarous","bizerte","gabes","gafsa","jendouba","kairouan","kasserine","kebili","kef","mahdia","manouba","mednine","monastir","nabeul","sfax","sidi bouzid","silliana","sousse","tataouine","tozeur","tataouine""zaghouan"*/
Hobbies:{type:String}, this is the multiple select
Password:{type:String,required:true},
confirmPassword:{type:String,required:true},
Nfollowers:{type:Number,default:0},
Nfollowing:{type:Number,default:0},
})
export default mongoose.model('User',userSchema)
in fact it cause a lot of problems i m building an authentification app and when i submit this message from the server shows up