Example Apps

You can clone this project and play with local examples.

git clone git@github.com:trpc/trpc.git
cd trpc
yarn
yarn example:hello

Here's some example apps:

URLCommandPathDescription
todomvc.trpc.ioyarn example:todomvc./examples/next-prisma-todomvcTodoMVC-example with SSG & Prisma. Playwright for E2E-testing
chat.trpc.ioyarn example:chat./examples/next-ssg-chatNext.js real-time chat example with SSG & Prisma. Playwright for E2E-testing
hello-world.trpc.ioyarn example:hello./examples/next-hello-worldMinimal Next.js example. Playwright for E2E-testing
n/ayarn example:standalone./examples/standalone-serverStandalone tRPC server + node client
n/ayarn example:playground./examples/playgroundExpress server + node client