text: const mongoose = require('mongoose');
  
  const articleSchema = new mongoose.Schema({
    title: {
      type: String,
      required: true,
    },
    author: {
      type: String,
      required: true,
    },
    date: {
      type: String,
      required: true,
    },
    body: {
      type: String,
      required: true,
    },
  });
  
  const articleModel = mongoose.model('article', articleSchema);
  
  module.exports = articleModel;
  