-
Native Web Browser Implementation for WS
-
WS Library for our server
-
Minimal configuration on the server
-
Broadcasts:
* Client * Server
-
Manual reconnection in case of communication loss
This repository contains the application divided into two parts:
- Frontend: Folder
client/
, contains the user interface. - Backend: Folder
server/
, contains the websockets server.
- Navigate to the
client/
folder:cd client
. - Launch the server with
npx http-server -o
.
- Notice: In the browser developer tools disable caché in Network.
- Navigate to the
server/
folder:cd server
. - Clone the file
env.template
to.env
. - Setting the environment variables.
- Execute the comand:
npm install
. - Start the server with
npm run dev
.