* http://lb-486731550.ap-southeast-1.elb.amazonaws.com/chat
* limitMilliseconds => in the time intervals limit socket event request time
* actionUpperBound =>in the time intervals of limitMilliseconds, user action upper bound
* prot => server port
socketHandler => listen socket event and parse client side data then assign to lobby
lobby => acording to socket event, opertion peer
peerManager => basic manager of peer
peer => keep socket and user data in memory
1. Coding Style
2. Coding Habit
3. Can i have master the programming language of javscript
server side start step
$ npm install
$ node main.js
http://127.0.0.1:3310/chat
cd testClient
$ npm install
$ node chatClientCash.js
it can test limit request time function
$ npm mocha -g
$ npm test
I totally spend 9 to 10 hours
in this project, it has three main parts
1. Thinking require and design,2 hours
2. server side coding 3 hour
3. client side coding 4 to 5 hours