Aller au contenu principal
Version : 9.x

Exemples d'applications

Traduction Bêta Non Officielle

Cette page a été traduite par PageTurner AI (bêta). Non approuvée officiellement par le projet. Vous avez trouvé une erreur ? Signaler un problème →

Vous pouvez cloner trpc et tester les exemples en local, ou les essayer directement via le lien CodeSandbox ci-dessous.

Voici quelques exemples d'applications :

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-websockets-starter trpc-prisma-websockets-starter
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
n/a