WIP – more on the way~!
workers/basic
Quick start with twoGETrequests.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 installfrom the project root.
$ pnpm install
# or
$ yarn install
# or
$ npm installBuild
Note: Must be run from this (
/examples) directory
$ pnpm run build
# or
$ yarn run build
# or
$ npm run buildDeploy
Important: You must set up your
cfwcredentials and update allworkers/*/cfw.jsonfiles.
$ pnpm run deploy
# or
$ yarn run deploy
# or
$ npm run deployMIT