

Create a WebSocket Server and bind it to the HTTP server.The Webpack dev server is configured to proxy the WebSocket requests to the WS server. The WebSocket server is created atop an HTTP server on a different port than the static assets (html, css, js files) server from Webpack. The Websocket server uses the basic http project plus the ws WebSocket implementation. One for the static contents of the Web app (html, js, css) and one for the WeBSocket management.
#TABULO BLANC CODE#
The application code is two-folded: the server code and the client code. There is no Same-origin policy control and security involved.

The application is a simple group chat, where any connected client receives messages sent by everyone. It focusses on showing the basic mechanisms used to create a bidirectional (full duplex) communication WebSocket. This project was bootstrapped with Create React App.
