本文へスキップ
バージョン:11.x

サンプルアプリケーション

注記

リストされたパッケージマネージャーのいずれかを使用して例をインストールすることは可能ですが、これらの例はすべてスクリプトランナーとしてpnpmを使用するように構成されているため、最初にインストールしてください。

npmまたはyarnを使用する場合は、生成された例の関連するpackage.jsonscriptsエントリを更新してください。


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 - ExpoとTurborepoを使用したT3スタック

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

Prisma、E2Eテスト、ESLint、next-auth、WebSockets、サブスクリプションを使用したNext.jsスターター

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

SSGとPrismaを使用したNext.js Todo MVC例

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

Node.jsの最小限の(Hello world)サーバーとクライアント


VanillaスタンドアロンサーバーとNode.jsプロシージャコール


ExpressサーバーとNode.jsプロシージャコール


WebSocketsとNode.jsプロシージャコールを使用したFastifyサーバー


Prismaを使用したSvelteKit


Expressを使用したEthereum認証によるサインイン

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

個別のバックエンドとフロントエンドのリポジトリ