javascript interact with database
// Javascript connect to ddb:
const mysql = require('mysql');
const con = mysql.createConnection({
  
  host: "localhost",
  user: "yourusername",
  password: "yourpassword"
  });
con.connect(function(err) {
  if (err) throw err;
  console.log("Connected!");
});