
9/21/2022 · Kabir Sikand
What this post added
This post details the architecture and implementation of a Todo API built entirely on Cloudflare Workers and D1. It introduces the concept of 'originless' applications using Custom Domains for Workers, enabling global distribution and scalability. The post outlines the use of a gateway Worker for routing and authorization, individual Workers for CRUD operations on todos, and a D1 database for persistence. It provides code examples for setting up the D1 database, creating endpoint Workers, and configuring the gateway Worker with service bindings and custom domain routes.