{"size": 650, "ext": "js", "max_stars_repo_path": "app/config/connection.js", "max_stars_repo_name": "JayPTucker/graves-storage", "max_stars_repo_stars_event_min_datetime": "2021-02-11T19:54:28.000Z", "max_stars_repo_stars_event_max_datetime": "2021-02-11T19:54:28.000Z", "max_issues_repo_path": "app/config/connection.js", "max_issues_repo_name": "JayPTucker/graves-storage", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/config/connection.js", "max_forks_repo_name": "JayPTucker/graves-storage", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.9523809524, "max_line_length": 105, "alphanum_fraction": 0.5461538462}
// *********************************************************************************
// CONNECTION.JS - THIS FILE INITIATES THE CONNECTION TO MYSQL
// *********************************************************************************

require('dotenv').config()

// Dependencies
var Sequelize = require("sequelize");

// Creates mySQL connection using Sequelize, the empty string in the third argument spot is our password.
var sequelize = new Sequelize(process.env.DB, process.env.USER, process.env.PASS, {
  host: process.env.HOST,
  port: 3306,
  dialect: "mysql"
});



// Exports the connection for other files to use
module.exports = sequelize;
