Files

Example with @socket.io/postgres-adapter

Table of contents

How to use

# start the postgres server
$ docker compose up -d

# run the cluster
$ node cluster.js

# run the client
$ node client.js

Documentation

The documentation can be found here: https://socket.io/docs/v4/postgres-adapter/