In the 'server' directory:
npm run init-db
To remove the databases:
npm run uninit-db
In 'server':
npm install
In 'client':
npm install
Create a text file named '.env' in the 'server' directory with contents:
DB_USER=root
DB_PASS=''
DB_NAME=BRAND_CENTRAL
TEST_DB_NAME=BRAND_CENTRAL_TESTING
SESSION_DB=SESSION_STORE
URL='localhost:8080'
In 'server':
npm test
In 'server':
npm run doc
Then navigate to 'localhost:8080' in your web browser.
From 'server' directory (for API):
npm start
From 'client' directory (for web server):
npm run dev
In 'client':
npm run build
In 'server':
sudo PORT=80 node src/server.js