Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jglchen/nextjs-socket-chat

A real-time chat application built with Next.js using Socket.IO for demonstrations.
https://github.com/jglchen/nextjs-socket-chat

docker nextjs socket-io typescript

Last synced: 12 days ago
JSON representation

A real-time chat application built with Next.js using Socket.IO for demonstrations.

Awesome Lists containing this project

README

        

# Chat Applications with Socket.IO

There are many ways to achieve real-time content updates on the web. Long-polling, web sockets and server-side events are popular ways for real-time updates. With long-polling an HTTP request is made to the server at a predefined interval. In server-side events, the browser’s event source API is used to open a channel of communication between the client and the server for updates to flow from the server to the client. The web socket protocol opens a two-way communication channel between the client and the server to allow updates to move in both ways.

This real-time chat application is built with **[Next.js](https://nextjs.org/)** using **[Socket.IO](https://socket.io/)** for demonstrations.

### Docker: docker run -p 3000:3000 jglchen/nextjs-socket-chat
### [GitHub](https://github.com/jglchen/nextjs-socket-chat)