Skip to main content

Example Apps

You can clone trpc and play with local examples, or play with them in the CodeSandbox link below.

Here's some example apps:

DescriptionURLLinks
Recommended:
Next.js starter with Prisma, E2E testing, & ESLint

Quick start with create-next-app
yarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
nextjs.trpc.io
zART-stack example (zero-API, TypeScript, React).
Monorepo setup with React Native, Next.js, & Prisma

Quick start with git clone
git clone git@github.com:KATT/zart.git
n/a
Next.js starter with Prisma, E2E testing, ESLint, Auth using next-auth, WebSockets, & Subscription support

Quick start with create-next-app
yarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter-websockets trpc-prisma-starter-websockets
websockets.trpc.io
Next.js TodoMVC-example with SSG & Prisma.

Quick start with create-next-app
yarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-todomvc trpc-todo
todomvc.trpc.io
Vanilla standalone server & procedure calls with node.jsn/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
Express server with tRPC Shield + Prisma

Quick start with create-trpc-appx
npx create-trpc-appx --example https://github.com/omar-dulaimi/trpc-shield/tree/master/example
n/a