workers-todo-api
A simple TypeScript Cloudflare worker project.
👩 💻 Developing
src/index.js
calls the request handler in src/handler.ts
, and will return the request method for the given request.
🧪 Testing (not implemented)
This template comes with mocha tests which simply test that the request handler can handle each request method. npm test
will run your tests.
✏️ Formatting
This template uses prettier
to format the project. To invoke, run npm run format
.
👀 Previewing and Publishing
For information on how to preview and publish your worker, please see the Wrangler docs.