Skip to content
File

Blob: samples/webfs/README.md

Markdown29 lines

Web File System API Example

To run the example on http://localhost:8080

$ ./workerd serve config.capnp

To run using bazel

$ bazel run //src/workerd/server:workerd -- serve ~/cloudflare/workerd/samples/helloworld_esm/config.capnp

To create a standalone binary that can be run:

$ ./workerd compile config.capnp > helloworld

$ ./helloworld

To test:

% curl http://localhost:8080
Hello World