Use hosted utils package
This commit is contained in:
20
readme.md
Normal file
20
readme.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Installation
|
||||
|
||||
```
|
||||
git clone https://git.harvmaster.com/Harvmaster/sync-server-example.git
|
||||
cd sync-server-example
|
||||
npm ci
|
||||
```
|
||||
|
||||
# Running
|
||||
|
||||
There are 2 examples in the `src/index.ts` file.
|
||||
|
||||
- `testSSE()` - Example using the SSE client
|
||||
- `testWS()` - Example using the WebSocket client
|
||||
|
||||
To run the examples, you can use the following command:
|
||||
|
||||
```
|
||||
npm run start
|
||||
```
|
||||
Reference in New Issue
Block a user