Send and recieve messages thru terminal or app with pubsub listener. (still work in progress)
- Node: 16.9.0
- Npm: 7.21.1
- Publish and Subscribe key from registered account for PubNub
- Do
npm install
for both client and server directory. - Copy and rename .env.example to .env and add the following details for the keys.
- Inside the client folder, type
npm start
and go tohttp://localhost:3000
. - Run
node index.js
to quickly run the server and quickly type inside the prompt.