I used a .env file to store my key and secret

yarn install

Start server in one tab: node server.js

Open new tab in terminal and node app.js

Messages will log in console windows - one for the server-side, one for the client-side