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)
- 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
-
Exempel på deployment: nextjs.trpc.io
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
- 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: 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
- 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
-
Exempel på deployment: websockets.trpc.io
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
- 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
-
Exempel på deployment: todomvc.trpc.io
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
- git
bashgit clone git@github.com:codingwithmanny/trpc-siwe-monorepo.git
bashgit clone git@github.com:codingwithmanny/trpc-siwe-monorepo.git