{"size": 609, "ext": "js", "max_stars_repo_path": "backend/models/Basic_User.js", "max_stars_repo_name": "krispy1994/csc648-test-repo", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "backend/models/Basic_User.js", "max_issues_repo_name": "krispy1994/csc648-test-repo", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "backend/models/Basic_User.js", "max_forks_repo_name": "krispy1994/csc648-test-repo", "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": 16.4594594595, "max_line_length": 63, "alphanum_fraction": 0.6108374384}
// models/Basic_User.js

const mongoose = require('mongoose');

const BasicUserSchema = new mongoose.Schema({
  name: {
    type: String,
    required: true
  },
  userName: {
    type: String,
    required: true
  },
  email: {
    type: String,
    required: true
  },
  verifyEmail: {
    type: String,
    required: true
  },
  password01: {
    type: String,
    required: true
  },
  password02: {
    type: String,
    required: true
  },
  date: {type:Date,
    default: Date.now
  }
});

module.exports = mongoose.model('basicusers', BasicUserSchema);
// Ar01 : table
// Arg02 : User sign up template