Eating Dogfood at Scale: How We Build Serverless Apps with Workers
Apr 19, 2019Jonathan Spies

Summary
This post details the adoption and implementation of the Serverless Framework for managing Cloudflare Workers deployments. It covers setting up the `serverless.yml` configuration file for service name, provider details (accountId, zoneId), plugins, and function definitions (script, webpack, environment variables, resources like KV namespaces, and events/routes). It also discusses strategies for managing different deployment stages (development, production) using custom variables and external configuration files, and outlines unit testing approaches using Node.js frameworks like Mocha and Sinon.