cd eveman
npm init
npm install --save express
Run MySQL as root mysql -u root -p
and create a DB and a User
CREATE DATABASE eventman;
CREATE USER eventadmin IDENTIFIED BY 'eventpass';
USE eventman;
GRANT ALL PRIVILEGES ON eventman to eventadmin@'%';
Login using the new user and verify the database is accessible, first
login with mysql -u eventadmin -p
USE eventman;
node server.js