https://github.com/buikhacnam/socketio-react-private-messaging
yet another socket.io private messaging app
https://github.com/buikhacnam/socketio-react-private-messaging
chat cluster messaging nodejs react redis redis-adapter socket-io typescript
Last synced: about 1 month ago
JSON representation
yet another socket.io private messaging app
- Host: GitHub
- URL: https://github.com/buikhacnam/socketio-react-private-messaging
- Owner: buikhacnam
- Created: 2024-04-10T01:49:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-10T01:49:21.000Z (about 1 year ago)
- Last Synced: 2025-02-16T11:14:19.087Z (3 months ago)
- Topics: chat, cluster, messaging, nodejs, react, redis, redis-adapter, socket-io, typescript
- Language: TypeScript
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# socket.io private messaging with React
This is an alternative of the [private messaging](https://socket.io/get-started/private-messaging-part-4/) official example from [socket.IO](https://socket.io/), but written in React and TypeScript instead. Check the original source code [here](https://github.com/socketio/socket.io/tree/main/examples/private-messaging).
## Prerequisites
- Node.js
- Redis (or Docker to run it)## How to run
### server
```bash
cd server
yarn install
yarn start
```if you don't have Redis installed, you can run it with Docker:
```bash
docker-compose up -d
```### client
```bash
cd client
yarn install
yarn dev
```