burhon97 / websocket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebSocket

This example chat with two client with WebSocket.

Installation

To install and compile run following command:

npm run bootstrap

Usage

  1. Lets start our server:
cd ./server
npm start
  1. Start client 1:
cd ./client-1
npm start
  1. Start client 2:
cd ./client-2
npm start
  1. Lets chats with clients:

chat-websocket

About


Languages

Language:TypeScript 94.0%Language:Shell 6.0%