run npm install both side server and client run server by npm start [1]. make a room to chat [2]. send room to your friend to log in and chat