npm install -g nodemon
On mac or linux
sudo npm install -g nodemon
npm install node-gyp -g
const mysql = require("mysql");
const connection = mysql.createConnection({
host: "YOUR_HOST",
user: "YOUR_DB_USER",
password: "YOUR_PASSWORD",
database: "YOUR_DB"
});
exports.connection = connection;
cd server
yarn install
yarn start