Backend API for Cloudflare Blog using Workers
index.js is the content of the Workers script.
To generate using wrangler
wrangler generate projectname https://github.com/cloudflare/worker-template
Further documentation for Wrangler can be found here.