Turborepo boilerplate for Remix on Cloudflare workers with DO + KV
The Remix Starter Kit is a Turborepo boilerplate designed for building applications using the Remix framework on Cloudflare workers with DigitalOcean and Session KV. It provides a set of tools and technologies such as Remix, Turborepo, Cloudflare Workers, Durable Objects, Workers KV, Tailwind CSS, ESLint, Prettier, and Playwright.
To install the Remix Starter Kit, follow these steps:
kv's id and preview_id to packages/worker/wrangler.toml:kv_namespaces = [
{ binding = "SESSION", id = "<kv's id>" },
{ binding = "PREVIEW", id = "<preview_id>" }
]
CI/CD: Append account_id to packages/worker/wrangler.toml.
Append Cloudflare API Token to GitHub Actions Secrets (CF_API_TOKEN).
Development:
package install example at the root of the repository.Deploy Turborepo:
npx turborepo link-cache
The Remix Starter Kit is a comprehensive boilerplate that combines various technologies and tools to provide a solid foundation for building web applications. With Remix as the core framework, developers can leverage features such as Turborepo, Cloudflare Workers, Durable Objects, Workers KV, Tailwind CSS, ESLint, Prettier, and Playwright to create robust and performant applications. The installation process is straightforward, and users can also take advantage of Remote Caching (Beta) to share cache artifacts across machines and improve team collaboration and CI/CD workflows.