text: const mongoose = require('mongoose');
  const Schema = mongoose.Schema;
  
  const ProductSchema = new Schema({
    name: {
      type: String,
      required: true
    },
    unit: {
      type: String,
      required: true
    },
    category: {
      type: String,
      required: true
    }
  })
  
  module.exports = User = mongoose.model('Product', ProductSchema);