This is the template creator. To make a template:
git clone https://github.com/victoriabernard92/workers-template-creator myTempName
Add project logic to the directory. Run
Specify the entry point of the Worker script in package.json in
Fill out the
README.md. Make sure to include:
- Description of what the Worker accomplishes.
- Demo. Ideally a demo using cloudflareworkers.com, but for Worker demos requiring special headers, POST bodies,.. a live demo of where the Worker is running also works.
Review the contribution guide thoroughly here
Commit source files omitting build files of course.
Host a public repo, and then test your project by running
wrangler generate https://github.com/<your-repo>.
(Boilerplate) Submit a PR to add the template to the template gallery after having it approved. (Snippet) Submit your code to Victoria. Ideally as a PR to a repo you own