Aller au contenu principal
Version : 11.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 →

note

Bien qu'il soit possible d'installer les exemples avec n'importe quel gestionnaire de paquets listé, tous les exemples sont configurés pour utiliser pnpm comme exécuteur de scripts. Assurez-vous donc de l'installer au préalable.

Si vous souhaitez utiliser npm ou yarn, pensez à mettre à jour les entrées scripts correspondantes dans le fichier package.json de l'exemple généré.


Starter Next.js avec Prisma, tests E2E et ESLint (Recommandé)​

bash
npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
bash
npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter

create-t3-turbo - Stack T3 avec Expo et Turborepo​

bash
git clone git@github.com:t3-oss/create-t3-turbo.git
bash
git clone git@github.com:t3-oss/create-t3-turbo.git

Starter Next.js avec Prisma, tests E2E, ESLint, next-auth, WebSockets et abonnements​

bash
npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-websockets-starter trpc-prisma-websockets-starter
bash
npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-websockets-starter trpc-prisma-websockets-starter

Exemple Todo MVC Next.js avec SSG et Prisma​

bash
npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-todomvc trpc-todo
bash
npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-todomvc trpc-todo

Serveur et client minimaux (Hello world) en Node.js​


Serveur autonome vanilla et appels de procédures Node.js​


Serveur Express et appels de procédures Node.js​


Serveur Fastify avec WebSockets et appels de procédures Node.js​


SvelteKit avec Prisma​


TanStack Start (Alpha)​


Authentification Sign-In With Ethereum avec Express​

bash
git clone git@github.com:codingwithmanny/trpc-siwe-monorepo.git
bash
git clone git@github.com:codingwithmanny/trpc-siwe-monorepo.git

Dépôts distincts pour le backend et le frontend​