Build a serverless API on SQLite with Cloudflare D1

Cloudflare D1 runs SQLite at the edge as a serverless database. Your REST API gets single-digit millisecond reads and no servers to run. The free tier covers 5 GB of storage and 5 million row reads a day. Deploy a Cloudflare Worker that talks to D1 in plain SQL, and you sit on the most deployed database engine on Earth. Key Takeaways Your database sits in 300 data centers, so nearby reads take…