TanStack Logo

Star
TanStack Logo

TANSTACK START

roerohan/fullstack-monorepo-template

TanStack Start + Cloudflare Workers monorepo. Build modern fullstack applications with type-safe RPC, server functions, and edge deployment.

Live RPC Demo:

{"message":"Hello, World!","timestamp":1765291572859}

Called WORKER_RPC.sayHello() from server loader • View more RPC examples at /rpc

Edit /src/routes/index.tsx or add RPC methods in packages/worker/src/rpc.ts

Worker RPC Integration

Type-safe RPC calls from TanStack Start to Cloudflare Workers via service bindings. Full end-to-end type safety.

Powerful Server Functions

Write server-side code that seamlessly integrates with your client components. Type-safe, secure, and simple.

Flexible Server Side Rendering

Full-document SSR, streaming, and progressive enhancement out of the box. Control exactly what renders where.

HTTP API Routes

Access Cloudflare Worker HTTP endpoints at /api/* routes or use type-safe RPC calls.

Strongly Typed Everything

End-to-end type safety from server to client. Catch errors before they reach production.

Monorepo Template

Full-stack pnpm workspace with separate Worker and Web packages. Share types across the stack seamlessly.