A basic chat application built with Node.js, Express, and Socket.io. This project demonstrates real-time chat functionality as a learning exercise for Socket.io.
- Real-time messaging using Socket.io
- Minimal setup with only two main files (
index.jsandindex.html) - Basic user interface with message input and display
├── index.js # Server-side logic using Express and Socket.io ├── public │ └── index.html # Frontend for chat interface └── README.md
- Node.js (v12+)
- Clone the repository:
git clone https://github.com/giriraj-parsewar/simple-socket-chat.git cd simple-socket-chat
###Install dependencies:
npm init
npm i express
npm install socket.io
###Running the Application
Start the server:
node index.js
###Running the Application
Start the server:
node index.js