tRPC End-to-End Typesafe API Framework
tRPC enables developers to build fully typesafe APIs in TypeScript without schemas, code generation, or runtime bloat. The client infers server types directly, providing autocompletion for inputs, outputs, and errors. It supports request batching, subscriptions, and adapters for
What it does
tRPC End-to-End Typesafe API Framework
tRPC enables developers to build fully typesafe APIs in TypeScript without schemas, code generation, or runtime bloat. The client infers server types directly, providing autocompletion for inputs, outputs, and errors. It supports request batching, subscriptions, and adapters for Next.js, Express, Fastify, and many other frameworks.
Installation
Use the upstream install or setup path that matches your environment:
- yarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
- npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
- pnpm create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
- npx @tanstack/intent@latest install
Basic usage or getting-started notes:
-
🐎 Snappy DX - No code generation, run-time bloat, or build pipeline.
-
There are a few examples that you can use for playing out with tRPC or bootstrapping your new project. For example, if you want a Next.js app, you can use the full-stack Next.js ex...
-
Quick start with a full-stack Next.js example:
-
Source: https://github.com/trpc/trpc
-
Extracted from upstream docs: https://raw.githubusercontent.com/trpc/trpc/HEAD/README.md
Source
Capabilities
Install
Quality
deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,518 chars)