start javascript as server code example
Example 1: start peerjs server
peerjs --port 9000 --key peerjs --path /myapp
Example 2: start redis server
$ redis-server
peerjs --port 9000 --key peerjs --path /myapp
$ redis-server