Pre-Reqs: Install Kafka, Node, Npm. Update properties.js.template to have the correct kafka URLs and copy the file over as properties.js. Run the project in two terminal windows.
npm install && npm start
npm install -g http-server && http-server .
Navigate to http://localhost:8080/client1/index.html and http://localhost:8080/client2/index.html to test.
Disclaimer: This kafka-socket paradigm used in the project by which there is 1 consumer for every socket connection is not recommended for production applications.