{"size": 672, "ext": "js", "max_stars_repo_path": "app/orm/connection.js", "max_stars_repo_name": "ejhalpin/FriendFinder", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/orm/connection.js", "max_issues_repo_name": "ejhalpin/FriendFinder", "max_issues_repo_issues_event_min_datetime": "2020-09-06T20:03:43.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-08T02:47:24.000Z", "max_forks_repo_path": "app/orm/connection.js", "max_forks_repo_name": "ejhalpin/FriendFinder", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 32.0, "max_line_length": 68, "alphanum_fraction": 0.4702380952}
//Pull in dependencies
//===================================================
let mysql = require("mysql");
require("dotenv").config();
//===================================================
//build the database connection and connect
//===============================================================
let connection = mysql.createConnection({
  host: "k2pdcy98kpcsweia.cbetxkdyhwsb.us-east-1.rds.amazonaws.com",
  port: 3306,
  user: process.env.SQL_NAME,
  password: process.env.SQL_PASS,
  database: process.env.DBASE
});

connection.connect(err => {
  if (err) throw err;
});
//===============================================================
module.exports = connection;
