text: // connect NODE.js to MySQL database
  var mysql = require('mysql');
  
  var connection;
  
  if (process.env.JAWSDB_URL) {
      connection = mysql.createConnection(process.env.JAWSDB_URL);
  
  } else {
      connection = mysql.createConnection({
          host    : 'localhost',
          port    : 3306,
          user    : 'root',
          password: 'VH_13Root',
          database: 'burgers_db'
      });
  };
  
  connection.connect(function(err) {
      if (err) throw err.stack;
      console.log('connected as id:' + connection.threadId);
  });
  
  module.exports = connection;