Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jglchen/nextjs-socket-chat
- Owner: jglchen
- Created: 2023-01-03T07:20:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-23T09:26:12.000Z (almost 2 years ago)
- Last Synced: 2024-11-19T13:36:13.567Z (2 months ago)
- Topics: docker, nextjs, socket-io, typescript
- Language: TypeScript
- Homepage: https://jglchen.github.io/nextjs-socket-chat/
- Size: 336 KB
- Stars: 18
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)