iching-broker-level2/node_modules/union/examples/socketio
Christopher Hase b27a419c2f
All checks were successful
ci / build (push) Successful in 1m33s
add http-server part 5
2025-04-09 11:10:36 +02:00
..
index.html add http-server part 5 2025-04-09 11:10:36 +02:00
README add http-server part 5 2025-04-09 11:10:36 +02:00
server.js add http-server part 5 2025-04-09 11:10:36 +02: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!