Example Apps
info
Some of the examples on this page are out-of-date since V10. We'll update this soon.
You can clone trpc and play with local examples, or play with them in the CodeSandbox link below.
Here's some example apps:
Description | URL | Links |
---|---|---|
Recommended: Next.js starter with Prisma, E2E testing, & ESLint Quick start with | nextjs.trpc.io | |
zART-stack example (zero-API, TypeScript, React). Monorepo setup with React Native, Next.js, & Prisma Quick start with | n/a | |
Next.js starter with Prisma, E2E testing, ESLint, Auth using next-auth, WebSockets, & Subscription supportQuick start with | websockets.trpc.io | |
Next.js TodoMVC-example with SSG & Prisma.Quick start with | todomvc.trpc.io | |
Minimal (Hello world) server and client in node.js | n/a | |
Vanilla standalone server & procedure calls with node.js | n/a | |
Express server & procedure calls with node.js. | n/a | |
Fastify server with WebSocket & procedure calls with node.js. | n/a | |
SvelteKit Example Application with Prisma. | n/a | |
Cloudflare Workers example | n/a | |
Express server with tRPC Shield + PrismaQuick start with | n/a |