{"size": 206, "ext": "js", "max_stars_repo_path": "Study/Udemy Docker and Kubernetes/Section09/deployment-09-finished/backend/models/goal.js", "max_stars_repo_name": "tarsoqueiroz/Docker", "max_stars_repo_stars_event_min_datetime": "2021-12-18T03:28:44.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-25T01:23:02.000Z", "max_issues_repo_path": "backend/models/goal.js", "max_issues_repo_name": "hakoemmy/multi-docker-files", "max_issues_repo_issues_event_min_datetime": "2021-03-11T04:24:31.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T14:32:29.000Z", "max_forks_repo_path": "backend/models/goal.js", "max_forks_repo_name": "hakoemmy/multi-docker-files", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 4, "max_issues_count": 34, "max_forks_count": null, "avg_line_length": 18.7272727273, "max_line_length": 53, "alphanum_fraction": 0.7281553398}
const mongoose = require('mongoose');

const Schema = mongoose.Schema;

const goalSchema = new Schema({
  text: String
});

const GoalModel = mongoose.model('Goal', goalSchema);

module.exports = GoalModel;