internet-programming/lab2/node_modules/union/examples/socketio
2023-10-23 13:48:44 +04:00
..
index.html done 2023-10-23 13:48:44 +04:00
README done 2023-10-23 13:48:44 +04:00
server.js done 2023-10-23 13:48:44 +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!