Build a Command-Line Real-Time Chat App using SocketIO

added by JavaScript Kicks
8/23/2019 11:56:21 AM

1636 Views

First, we create a Node project: mkdir node-streamcd node-streamnpm init -y Now, we install the socket.io library: npm i socket.io Now the socket.io has a client-side library that will be used by the client to communicate with the socket.io server: npm i socket.io-client Now, we will create our Websocket server.


0 comments