Diffinery

homeflare/celldpublic

celld/examples/README.md
22 lines · 770 BRaw History
1# Examples
2
3These small Wrangler projects demonstrate progressively more of the Worker and
4Durable Object surface supported by `celld`:
5
6- `hello/` — a stateless Worker `fetch` handler
7- `webapi/` — common Web Platform APIs
8- `counter/` — a SQLite-backed Durable Object
9- `async/` — asynchronous storage and `waitUntil`
10- `body/` — request and response bodies
11- `router/` — Worker-to-Durable-Object routing
12- `wsecho/` — WebSocket echo with hibernation
13- `wsclient/` — outbound WebSocket client from a Durable Object
14- `alarm/` — a Durable Object alarm handler
15
16Deploy an example from its directory to the same bucket the nodes use:
17
18```sh
19celld deploy . --bucket s3://my-cells-bucket
20```
21
22They are examples, not the complete compatibility test suite.