Install dependencies:
bun install
Start dev server:
bun dev
Example of failing request:
$ curl -v http://localhost:3000/api/rpc \
-H "Content-Type: application/ndjson" \
-d $'{"_tag": "Request", "id": "123", "tag": "UsersList", "payload": {}, "traceId": "traceId", "spanId": "spanId", "sampled": true, "headers": [] }\n'
* Host localhost:3000 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
* Trying [::1]:3000...
* Connected to localhost (::1) port 3000
> POST /api/rpc HTTP/1.1
> Host: localhost:3000
> User-Agent: curl/8.7.1
> Accept: */*
> Content-Type: application/ndjson
> Content-Length: 143
>
* upload completely sent off: 143 bytes
< HTTP/1.1 499
< connection: keep-alive
< date: Mon, 08 Dec 2025 22:19:36 GMT
< keep-alive: timeout=5
< transfer-encoding: chunked
<
* Connection #0 to host localhost left intact