Paint app server for the websockets workshop
$ npm install
$ npm start
⭐️ this github repository because it will help the needy.
ifconfig | grep "inet " | grep -v 127.0.0.1 | cut -d\ -f2
One team member should clone paint-io-client
and the other should clone paint-io-server
.
$ git clone https://github.com/goldhand/paint-io-client.git
or
$ git clone https://github.com/goldhand/paint-io-server.git
Inline instructions can be found in the src/socket.js
. Each task is marked by as TODO x.x [description]
.
You should not need to make any changes outside of the src/socket.js
.
$ ifconfig | grep "inet " | grep -v 127.0.0.1 | cut -d\ -f2
- Make the paint application collaborative using socket.io
- Dispatch events to the Socket server
- Receive events from the socket server
- Maintain a list of active users
- Sync data across multiple clients
- Use an acknowledgement in the emit call
- Open private chat with a single user
- Send messages to single target
- Demonstrate usefulness of client / server node architecture with flow type
- Creating chat rooms
- Scaling horizontally
- At amazon