Example Apps
Example apps built with tRPC
On this page
Official
Node.js
React
| Example | Description | Links |
|---|---|---|
| Minimal React | Node.js server + Vite React client monorepo | Source · CodeSandbox |
| Express + React | Express server with React client using React Query | Source · CodeSandbox |
Next.js
| Example | Description | Links |
|---|---|---|
| Prisma Starter | Full-stack with Prisma, E2E testing, ESLint, and Tailwind CSS | Source · Demo · CodeSandbox |
| Minimal Starter | Bare-bones Next.js App Router + tRPC setup | Source · CodeSandbox |
| TodoMVC | TodoMVC with SSG and Prisma | Source · Demo · CodeSandbox |
| WebSockets | Prisma, WebSockets, NextAuth, and subscriptions | Source · Demo · CodeSandbox |
| SSE Chat | Streaming chat with Server-Sent Events and Drizzle ORM | Source · CodeSandbox |
| Big Router | Large router with code generation | Source · CodeSandbox |
| Edge Runtime | tRPC on Next.js Edge Runtime | Source · CodeSandbox |
| FormData | Form handling with React Hook Form and Zod | Source · CodeSandbox |
| WebSocket Encoder | WebSockets with MessagePack binary encoding | Source · CodeSandbox |
Serverless
| Example | Description | Links |
|---|---|---|
| Lambda Streaming | AWS Lambda + API Gateway with streaming responses | Source · CodeSandbox |
| Cloudflare Workers | tRPC on Cloudflare Workers | Source · CodeSandbox |
| Vercel Edge Runtime | tRPC on Vercel Edge Runtime | Source · CodeSandbox |
| Deno Deploy | tRPC client on Deno Deploy | Source · CodeSandbox |
Other Ecosystems
| Example | Description | Links |
|---|---|---|
| Express | Minimal Express + tRPC setup | Source · CodeSandbox |
| Fastify | Fastify with WebSocket support | Source · CodeSandbox |
| Bun | tRPC server and client on Bun | Source · CodeSandbox |
| Nuxt 3 | Nuxt 3 integration with trpc-nuxt | Source · CodeSandbox |
Community
Frameworks
| Example | Description | Links |
|---|---|---|
| create-t3-turbo | T3 Stack with Expo and Turborepo | Source · CodeSandbox |
| SvelteKit + Prisma | SvelteKit integration with Prisma | Source · CodeSandbox |
