Hoppa till huvudinnehållet
Version: 10.x

Exempelapplikationer

Inofficiell Beta-översättning

Denna sida har översatts av PageTurner AI (beta). Inte officiellt godkänd av projektet. Hittade du ett fel? Rapportera problem →

notering

Även om det är möjligt att installera exemplen med valfritt pakethanterare, är alla exempel konfigurerade att använda pnpm som skriptkörning. Se därför till att installera det först.

Om du föredrar att använda npm eller yarn, kom ihåg att uppdatera relevanta scripts-poster i package.json för det genererade exemplet.


slug: typescript-performance-lessons title: Lärdomar om TypeScript-prestanda vid omstrukturering för v10 authors: [sachinraja]

Next.js-starter med Prisma, E2E-testning och ESLint (Rekommenderas)

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

slug: typescript-performance-lessons title: Lärdomar om TypeScript-prestanda vid omstrukturering för v10 authors: [sachinraja]

create-t3-turbo - T3 Stack med Expo och 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

slug: typescript-performance-lessons title: Lärdomar om TypeScript-prestanda vid omstrukturering för v10 authors: [sachinraja]

Next.js-starter med Prisma, E2E-testning, ESLint, next-auth, WebSockets och prenumerationer

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

slug: typescript-performance-lessons title: Lärdomar om TypeScript-prestanda vid omstrukturering för v10 authors: [sachinraja]

Next.js Todo MVC-exempel med SSG och 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

slug: typescript-performance-lessons title: Lärdomar om TypeScript-prestanda vid omstrukturering för v10 authors: [sachinraja]

Minimal server och klient (Hello world) i Node.js


slug: typescript-performance-lessons title: Lärdomar om TypeScript-prestanda vid omstrukturering för v10 authors: [sachinraja]

Fristående vanillaserver och Node.js-proceduranrop


slug: typescript-performance-lessons title: Lärdomar om TypeScript-prestanda vid omstrukturering för v10 authors: [sachinraja]

Express-server och Node.js-proceduranrop


slug: typescript-performance-lessons title: Lärdomar om TypeScript-prestanda vid omstrukturering för v10 authors: [sachinraja]

Fastify-server med WebSockets och Node.js-proceduranrop


slug: typescript-performance-lessons title: Lärdomar om TypeScript-prestanda vid omstrukturering för v10 authors: [sachinraja]

SvelteKit med Prisma


slug: typescript-performance-lessons title: Lärdomar om TypeScript-prestanda vid omstrukturering för v10 authors: [sachinraja]

Sign-In With Ethereum-autentisering med Express

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

slug: typescript-performance-lessons title: Lärdomar om TypeScript-prestanda vid omstrukturering för v10 authors: [sachinraja]

Separata backend- och frontend-repositories