Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

Writing an API at the Edge with Workers and Cloud Firestore

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Ashley M Lewis
Word Count
2,226
Company Posts That Month
22
Language
English
Hacker News Points
34
Post removed?
No
Summary

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.

Trends Found in this Post
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 Data

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.