muhammaddevops / realtime-chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

realtime-chat

A realtime chat app with the popular socket.io which uses websockets.

Chat with parties in realtime.

To run this project:

Step 1: clone the repository and open a terminal. Navigate (cd) to the "server" and "client" directories. Run "npm start" in both.

Step 2: open two or more browsers (the second and additional in incognito) and navigate to localhost:3000

Step 3: enter a number in the join room input (this is the room ID) for example: "1".

Step 4: enter the same room number in your other browsers.

Step 5: write a message in one browser and watch it appear in your other browsers that have joined on the same room number.

About


Languages

Language:JavaScript 71.3%Language:HTML 21.6%Language:CSS 7.1%