{"size": 523, "ext": "js", "max_stars_repo_path": "models/index.js", "max_stars_repo_name": "CjJordan/RoyceCopy", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "models/index.js", "max_issues_repo_name": "CjJordan/RoyceCopy", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "models/index.js", "max_forks_repo_name": "CjJordan/RoyceCopy", "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.3703703704, "max_line_length": 58, "alphanum_fraction": 0.5544933078}
// const mongoose = require('mongoose');
// module.exports.connect = (uri) => {
//  // Entries: require("./Entry")
//   mongoose.connect(

//     uri,
//     {
//       useMongoClient: true
//     }
//   );


//   // plug in the promise library:
//   mongoose.Promise = global.Promise;

//   mongoose.connection.on('error', (err) => {
//     console.error(`Mongoose connection error: ${err}`);
//     process.exit(1);
//   });

  // load models
module.exports = {
  User: require('./User'),
  Entry: require('./entry')

};
