Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.09 KB

README.md

File metadata and controls

45 lines (36 loc) · 1.09 KB

react/redux websocket example

travis standard

Installation:

Note: This requires a recent version of NodeJS to work.

git clone [email protected]:maxnachlinger/react-websocket-example.git

cd react-websocket-example
cd client
npm i

cd ../server
npm i

Running this app:

# start a webpack dev watch build
cd client
npm start

# start the server
cd ../server
npm start

The app runs at http://silly-chat.localtest.me:3000

Client tests:

cd client
npm test

TODO

  • Show idle users with idle times ("idle for N minutes" etc)
  • Add CSS - dear God the UI is awful :)
  • Allow users to edit their recent messages, but show an edit indicator by edited message to everyone else