RedwoodSDK
In this guide, you will create a new RedwoodSDK ↗ application and deploy it to Cloudflare Workers.
RedwoodSDK is a composable framework for building server-side web apps on Cloudflare. It starts as a Vite plugin that unlocks SSR, React Server Components, Server Functions, and realtime capabilities.
-
Create a new project.
Run the following command, replacing
<project-name>
with your desired project name:Terminal window npx degit redwoodjs/sdk/starters/standard#main <project-name>Terminal window pnpm degit redwoodjs/sdk/starters/standard#main <project-name>Terminal window yarn degit redwoodjs/sdk/starters/standard#main <project-name> -
Change the directory.
Terminal window cd <project-name> -
Install dependencies.
Terminal window npm installTerminal window pnpm installTerminal window yarn install -
Develop locally.
Run the following command in the project directory to start a local development server. RedwoodSDK is just a plugin for Vite, so you can use the same dev workflow as any other Vite project:
Terminal window npm run devTerminal window pnpm run devTerminal window yarn run dev -
Deploy your project.
You can deploy your project to a
*.workers.dev
subdomain or a Custom Domain, either from your local machine or from any CI/CD system, including Cloudflare Workers CI/CD.Use the following command to build and deploy. If you are using CI, make sure to update your deploy command configuration accordingly.
Terminal window npm run releaseTerminal window pnpm run releaseTerminal window yarn run release
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark