{"size": 246, "ext": "js", "max_stars_repo_path": "server/models/Articles.js", "max_stars_repo_name": "annstein29/nyt-react-search", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server/models/Articles.js", "max_issues_repo_name": "annstein29/nyt-react-search", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server/models/Articles.js", "max_forks_repo_name": "annstein29/nyt-react-search", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.5, "max_line_length": 57, "alphanum_fraction": 0.7032520325}
const mongoose = require('mongoose')
const Schema = mongoose.Schema;

const articleSchema = new Schema({
    title: String,
    date: Date,
    url: String
});

const Article = mongoose.model('Article', articleSchema);

module.exports = Article; 