This a ChatRoom where you can invite your friends and have fun with Realtime chat with them...
This is based on Websocket and for implementation of socket I used Socket.io.
Socket.IO is a library that enables low-latency, bidirectional and event-based communication between a client and a server.
It is built on top of the WebSocket protocol and provides additional guarantees like fallback to HTTP long-polling or automatic reconnection.
- Initialize Node Js project
- Setup node server and view & public folder
- Setup Socket.io
- Created Frontend
- Styling
- Join event notification emit
- Chat setup
- Leave event notificatin emit
- Added notification sound
- First clone this repo
- Install node modules using command
npm i
or
npm install
- Run the script devStart or start
npm run devStart
or
num run start
- Your app is running on port 3000
yups its that simple