{"size": 253, "ext": "js", "max_stars_repo_path": "generators/app/templates/src/database/mongodb/index.js", "max_stars_repo_name": "bowlerjs/generator-bowler", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "generators/app/templates/src/database/mongodb/index.js", "max_issues_repo_name": "bowlerjs/generator-bowler", "max_issues_repo_issues_event_min_datetime": "2018-01-11T00:24:21.000Z", "max_issues_repo_issues_event_max_datetime": "2018-01-11T00:24:21.000Z", "max_forks_repo_path": "generators/app/templates/src/database/mongodb/index.js", "max_forks_repo_name": "bowlerjs/generator-bowler", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 23.0, "max_line_length": 49, "alphanum_fraction": 0.7707509881}
import mongoose from 'mongoose';
import Config from 'config';

mongoose.connect(Config.get('database.mongodb'));
mongoose.Promise = global.Promise;
const connection = mongoose.connection;

import * as models from './models';

export default connection;
