Skip to content
tRPC

Starter Projects

On this page

Get started quickly with one of the example projects! Copy the snippet from Quick start with create-next-app in the below list to clone the project.

App Router

Description Links
Next.js App Router with SSE-based subscriptions and chat.
Uses @trpc/react-query with the fetch adapter.

Quick start with create-next-app npx create-next-app --example https://github.com/trpc/trpc/tree/main/examples/next-sse-chat trpc-sse-chat

Pages Router

Description URL Links
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 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