About This Template
A production-ready starting point for modern web applications
File-Based Routing
TanStack Router provides type-safe, file-based routing with automatic code splitting. Create a new file in src/routes/
and it becomes a route automatically.
src/routes/about.tsx → /about
src/routes/blog.posts.tsx → /blog/posts
Server Functions
Write server-side logic with createServerFn()
. Perfect for API calls, database queries, and any Node.js operations.
const getData = createServerFn({ method: 'GET' })
.handler(async () => { /* server code */ })
Edge Deployment
Deploy to Cloudflare Workers with a single command. Your app runs at the edge, close to your users for maximum performance.
npm run build && wrangler deploy