Writing an API at the Edge with Workers and Cloud Firestore
Blog post from Cloudflare
The text discusses the development of a system for reserving custom subdomains on the upcoming platform, Workers.dev. This involves creating two distinct Worker scripts to handle email verification and subdomain reservation processes. Google Cloud Platform's Firestore is used as the database due to its immediate consistency feature which prevents double-reservations. The text also explains how JWTs are generated for authentication requests to the Firestore API, and how these are stored in KV (Cloudflare’s Key-Value data store). Lastly, it mentions that users can reserve a workers.dev subdomain even if they don't have a domain on Cloudflare.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Serverless | 4 | 303 | 50 | 26 | +4% |
| Real-time | 2 | 287 | 104 | 41 | -22% |
| Secrets Management | 2 | 141 | 18 | 15 | +81% |
| Developer Experience | 1 | 35 | 24 | 16 | +52% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.