Lobashov_Ivan_PIBD-21_IP/Lab3/node_modules/union/examples/socketio
2024-01-10 22:39:31 +04:00
..
index.html lab 2-5 2024-01-10 22:39:31 +04:00
README lab 2-5 2024-01-10 22:39:31 +04:00
server.js lab 2-5 2024-01-10 22:39:31 +04:00

This folder contains an example of how to use Union with Socket.io.

First, you'll want to install both Union and Socket.io. Run this
command in the folder you placed these two files:

npm install union socket.io

You can run the server like so:

node server.js

Now open up your web browser to http://localhost and see the results
in the console!