learn and make a example for mongoose.