text: const mongoose = require('mongoose');
  
  const productSchema = mongoose.Schema({
      _id: mongoose.Schema.Types.ObjectId, // constructor function
      name: {
          type: String,
          required: true
      },
      price: {
          type: Number,
          required: true
      },
      productImage: {
          type: String,
          required: true
      }
  
  });
  
  module.exports = mongoose.model('Product', productSchema);