Mongoose diperlukan

const schema = new Schema({
  name: {
    type: String,
    required: true
  }
});
Mo Saeid