Cloudflare starter module
Worker routes
Handles trusted requests in Cloudflare Workers with clear inputs, responses, and error paths.
- Files
- 2
- Lines
- 75
- Languages
- TypeScript
Included files
This page lists paths and purposes, not source contents.
FilePurposeLanguageLines
src/checkout/create-record-route.ts
Creates one authenticated customer's D1 record through a trusted Worker route.
TypeScript
57 lines
src/checkout/list-records-route.ts
Lists D1 records owned by the authenticated customer.
TypeScript
18 lines