A server for a chat room assessment
only tested on node @ v8.6.0 & v6.7.0
git clone https://github.com/gwokae/chat-server-assessment.git
cd chat-server-assessment
npm i
npm start
We only have port and timeout settings. These settins can configure via cli arguments.
npm start -- --port 6780 --timeout 10
- init basic WS support
- init tests
- init users db
- init messages transmittion
- implement inactivity behavior
- implement disconnect behavior
- implement avoid nickname duplication
- check data validity (???? item #5 in the spec)
- graceful shutdown (on SIGINT or SIGTERM)