Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
signalnerve Merge pull request #14 from grempe/http-verbs
Router enhancement for full set of HTTP methods. Run project prettier task.
Latest commit da113a8 Jun 27, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore update .gitignore Jun 8, 2019
.prettierrc config files Apr 26, 2019 Run `npm run format` Jun 24, 2019
index.js Run `npm run format` Jun 24, 2019
package.json Update package.json May 21, 2019
router.js Run `npm run format` Jun 24, 2019


Selects the logic to respond to requests based on the request method and URL. Can be used with REST APIs or apps that require basic routing logic.

index.js is the content of the Workers script.

Live Demos are hosted on Demo /bar | Demo /foo


You can use wrangler to generate a new Cloudflare Workers project based on this template by running the following command from your terminal:

wrangler generate myApp

Before publishing your code you need to edit wrangler.toml file and add your Cloudflare account_id - more information about publishing your code can be found in the documentation.

Once you are ready, you can publish your code by running the following command:

wrangler publish


To deploy using serverless add a serverless.yml file.

You can’t perform that action at this time.