Skip to content

Worker Starter

import { WorkerStarter } from "~/components"
<WorkerStarter
title="Router"
repo="cloudflare/workers-sdk/templates/worker-router"
description="Run different logic based on the URL and request method. Use this starter to Build REST APIs or applications that require routing logic."
/>

Router

Run different logic based on the URL and request method. Use this starter to Build REST APIs or applications that require routing logic.

Terminal window
npm create cloudflare@latest my-app -- --template cloudflare/workers-sdk/templates/worker-router