text: var mongoose = require("mongoose");
  var Schema = mongoose.Schema;
  
  var ArticleSchema = new Schema({
    title: {
      type: String,
      required: true
    },
    date: {
      type: Date,
      default: Date.now,
      required: true
    },
    url: {
      type: String,
      required: true
    },
  });
  
  var Article = mongoose.model("Article", ArticleSchema);
  module.exports = Article;
  