Skip to content

Sai-Dangade777/Anonymous-Chat-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat app 💬 using websockets (Nodejs, Express & Socket.io)

We are going to develop a chat application using Express, Websockets. Tough you can use plain websockets but we would be using a library called Socket.io - which is wrapper around Websockets, its super easy to use and provies a fallback to xhr requests until the websocket connection is established.

The frontend-ui is based on Flexbox, no external UI libraries are used, so you can modify it as per your liking.


What is Websocket ?

WebSockets are an alternative to HTTP communication in Web Application, they offer full-duplex communication, that is, it is, bi-directional and that means the data can flow in both ways, so it can flow from client to the server and also from server to the client.


To start setting up the project

Step 1: Clone the repo

git clone https://github.com/trulymittal/chat-socket.io.git

Step 2: cd into the cloned repo and run:

npm install

Step 3: Start the chat app (development mode)

npm run dev

Step 4: Start the chat app

npm start

Contribute

You can fork this repo and send me a PR.

License

This project is licensed under the MIT License.

Anonymous-Chat-Application

This is a real-time chat app using Node.js, Express, and Socket.IO. It supports live messaging, typing feedback, and displays the total connected clients. The server handles socket connections, broadcasts messages, and updates client counts dynamically. The frontend is served from the public directory.

About

This is a real-time chat app using Node.js, Express, and Socket.IO. It supports live messaging, typing feedback, and displays the total connected clients. The server handles socket connections, broadcasts messages, and updates client counts dynamically. The frontend is served from the public directory.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors