{"size": 354, "ext": "js", "max_stars_repo_path": "models/users.js", "max_stars_repo_name": "agm1984/testapp2", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "models/users.js", "max_issues_repo_name": "agm1984/testapp2", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "models/users.js", "max_forks_repo_name": "agm1984/testapp2", "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": 19.6666666667, "max_line_length": 48, "alphanum_fraction": 0.6129943503}
var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var UserSchema = new Schema({
    name: String,
    email: String,
    username: {
      type: String,
      unique: true
    },
    password: String,
});

// Create object with all DB users in it
var Users = mongoose.model('User', UserSchema);

module.exports = Users;
