Add info about y-websocket-server to quick-start

This commit is contained in:
Kevin Jahns 2021-02-20 22:32:40 +01:00 committed by GitHub
parent 5b8d3ced3e
commit 9d7e5eaec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,22 @@ The Websocket Provider is a solid choice if you want a central source that handl
## Quick Start ## Quick Start
### Install dependencies
```sh
npm i y-websocket
```
### Start a y-websocket server
This repository implements a basic server that you can adopt to your specific use-case. [(source code)](./bin/)
Start a y-websocket server:
```sh
HOST=localhost PORT=1234 npx y-websocket-server
```
### Client Code: ### Client Code:
```js ```js