Files
socket.io/examples/postgres-adapter-example/README.md
2024-07-19 15:20:12 +02:00

26 lines
412 B
Markdown

# Example with `@socket.io/postgres-adapter`
**Table of contents**
<!-- TOC -->
* [How to use](#how-to-use)
* [Documentation](#documentation)
<!-- TOC -->
## How to use
```bash
# 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/