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. Can be used for chat, dashboard, notifications, etc.
- Socket.io
- Node.js
- Typescript
- HTML
- CSS
Clone
git clone https://github.com/edmilson-torres/nodejs-socketio.git
Install dependencies
npm install
Running the app
npm run dev
Chat
http://localhost:3000