Afanasev_Stepan_PIbd-21_IP/ИП 3 лаба/node_modules/union/examples/socketio
[USERNAME] 0dd26716dc Lab2-5
2024-01-10 16:11:49 +04:00
..
index.html Lab2-5 2024-01-10 16:11:49 +04:00
README Lab2-5 2024-01-10 16:11:49 +04:00
server.js Lab2-5 2024-01-10 16:11:49 +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!