added readme updated deno.json

This commit is contained in:
Jurn Wubben 2025-11-05 22:42:27 +01:00
parent 39f6e99abe
commit 432f2e0de4
2 changed files with 20 additions and 0 deletions

View file

@ -1,6 +1,7 @@
{ {
"tasks": { "tasks": {
"dev": "deno run -A --watch src/index.ts" "dev": "deno run -A --watch src/index.ts"
"prod": "deno run -A src/index.ts"
}, },
"imports": { "imports": {
"@std/assert": "jsr:@std/assert@1", "@std/assert": "jsr:@std/assert@1",

19
readme.md Normal file
View file

@ -0,0 +1,19 @@
# SchoolBox example WS server implementation.
Half assed denojs ws server.
## How to run
### Step one
install deno
### Step two
download this code
### Step three
```sh
deno i
deno run prod
```
### Step four
go to localhost:8000 (share this link with your friends) and use the cli.