This is an alternative of the private messaging official example from socket.IO, but written in React and TypeScript instead. Check the original source code here.
- Node.js
- Redis (or Docker to run it)
cd server
yarn install
yarn start
if you don't have Redis installed, you can run it with Docker:
docker-compose up -d
cd client
yarn install
yarn dev