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é.
slug: typescript-performance-lessons title: Leçons de performance TypeScript lors du refactoring pour la v10 authors: [sachinraja]
Starter Next.js avec Prisma, tests E2E et ESLint (Recommandé)
- npm
- yarn
- pnpm
- bun
bashnpx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
bashnpx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
shyarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
shyarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
shpnpx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
shpnpx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
shbunx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
shbunx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
-
Déploiement exemple : nextjs.trpc.io
slug: typescript-performance-lessons title: Leçons de performance TypeScript lors du refactoring pour la v10 authors: [sachinraja]
create-t3-turbo - Stack T3 avec Expo et Turborepo
- git
bashgit clone git@github.com:t3-oss/create-t3-turbo.git
bashgit clone git@github.com:t3-oss/create-t3-turbo.git
slug: typescript-performance-lessons title: Leçons de performance TypeScript lors du refactoring pour la v10 authors: [sachinraja]
Starter Next.js avec Prisma, tests E2E, ESLint, next-auth, WebSockets et abonnements
- npm
- yarn
- pnpm
- bun
bashnpx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-websockets-starter trpc-prisma-websockets-starter
bashnpx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-websockets-starter trpc-prisma-websockets-starter
shyarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-websockets-starter trpc-prisma-websockets-starter
shyarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-websockets-starter trpc-prisma-websockets-starter
shpnpx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-websockets-starter trpc-prisma-websockets-starter
shpnpx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-websockets-starter trpc-prisma-websockets-starter
shbunx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-websockets-starter trpc-prisma-websockets-starter
shbunx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-websockets-starter trpc-prisma-websockets-starter
-
Déploiement exemple : websockets.trpc.io
slug: typescript-performance-lessons title: Leçons de performance TypeScript lors du refactoring pour la v10 authors: [sachinraja]
Exemple Todo MVC Next.js avec SSG et Prisma
- npm
- yarn
- pnpm
- bun
bashnpx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-todomvc trpc-todo
bashnpx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-todomvc trpc-todo
shyarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-todomvc trpc-todo
shyarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-todomvc trpc-todo
shpnpx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-todomvc trpc-todo
shpnpx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-todomvc trpc-todo
shbunx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-todomvc trpc-todo
shbunx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-todomvc trpc-todo
-
Déploiement exemple : todomvc.trpc.io
slug: typescript-performance-lessons title: Leçons de performance TypeScript lors du refactoring pour la v10 authors: [sachinraja]
Serveur et client minimaux (Hello world) en Node.js
slug: typescript-performance-lessons title: Leçons de performance TypeScript lors du refactoring pour la v10 authors: [sachinraja]
Serveur autonome vanilla et appels de procédures Node.js
slug: typescript-performance-lessons title: Leçons de performance TypeScript lors du refactoring pour la v10 authors: [sachinraja]
Serveur Express et appels de procédures Node.js
slug: typescript-performance-lessons title: Leçons de performance TypeScript lors du refactoring pour la v10 authors: [sachinraja]
Serveur Fastify avec WebSockets et appels de procédures Node.js
slug: typescript-performance-lessons title: Leçons de performance TypeScript lors du refactoring pour la v10 authors: [sachinraja]
SvelteKit avec Prisma
slug: typescript-performance-lessons title: Leçons de performance TypeScript lors du refactoring pour la v10 authors: [sachinraja]
Authentification Sign-In With Ethereum avec Express
- git
bashgit clone git@github.com:codingwithmanny/trpc-siwe-monorepo.git
bashgit clone git@github.com:codingwithmanny/trpc-siwe-monorepo.git