WIP – more on the way~!
workers/basic
Quick start with twoGET
requests.workers/kv-todos
A RESTful resource endpoint, tied to a KV Namespace.
All examples are managed by cfw
for their build and deploy phases, but you can easily use wrangler
instead! However, instructions are intended for cfw
use only.
Installation
Note: You may skip this if you ran
pnpm install
from the project root.
$ pnpm install
# or
$ yarn install
# or
$ npm install
Build
Note: Must be run from this (
/examples
) directory
$ pnpm run build
# or
$ yarn run build
# or
$ npm run build
Deploy
Important: You must set up your
cfw
credentials and update allworkers/*/cfw.json
files.
$ pnpm run deploy
# or
$ yarn run deploy
# or
$ npm run deploy
MIT