A real time chat appplication with room support, created from socket.io and node.js.
To run this page on your local machine, the required dependencies should be installed using following commands.
First command:
npm i express ejs socket.io
Second command:
npm i --save-dev nodemon
Make sure this is added to package.json (inside "scripts"):
"devStart": "nodemon server.js"
Then use this to run the web server:
npm run devStart
Go to http://localhost:3000 run the page locally on browser.
Here is an example:
Home page:
View from the client who has already created a room (e.g. waiting room):
View from the client who entered a created room (e.g. waiting room):