Manage your to-do list with Cloudflare Workers Assets + Remix + Cloudflare Workers KV.
This is a simple to-do list app that allows you to add, remove, and mark tasks as complete. The project is a Cloudflare Workers Assets application built with Remix. It uses Cloudflare Workers KV to store the to do list items. The Remix Vite Plugin has a Cloudflare Dev Proxy that enables you to use Bindings provided by the Cloudflare Developer Platform.
Important
When using C3 to create this project, select "no" when it asks if you want to deploy. You need to follow this project's setup steps before deploying.
Outside of this repo, you can start a new project with this template using C3 (the create-cloudflare
CLI):
npm create cloudflare@latest -- --template=cloudflare/templates/to-do-list-kv-template
A live public deployment of this template is available at https://to-do-list-kv-template.templates.workers.dev
- Install the project dependencies with a package manager of your choice:
npm install
- Create a kv namespace with a binding named "TO_DO_LIST":
...and update the
npx wrangler kv namespace create TO_DO_LIST
kv_namespaces
->id
field inwrangler.json
with the new namespace ID. - Deploy the project!
npx wrangler deploy