Skip to content

buikhacnam/socketio-react-private-messaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

socket.io private messaging with React

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.

Prerequisites

  • Node.js
  • Redis (or Docker to run it)

How to run

server

cd server
yarn install
yarn start

if you don't have Redis installed, you can run it with Docker:

docker-compose up -d

client

cd client
yarn install
yarn dev