tRPC
- Category
- Frameworks and libraries
- Docs outline
- 12 sections
Official docs outline
trpc.io- Concepts
End-to-end type safety, RPC vs REST and GraphQL, queries, mutations and subscriptions.
- Define routers
Creating router and merging routers, AppRouter type.
- Define procedures
Query, mutation and subscription procedures, input and output.
- Context
Creating context per request, auth info and dependencies.
- Input and output validators
Zod and other validators for input and output.
- Middlewares
Procedure middleware, auth, logging and context extension.
- Error handling
TRPCError, error codes and formatters.
- Subscriptions
Async generators, SSE and WebSocket subscriptions.
- Adapters
Standalone, Express, Fastify, Next.js, Lambda and fetch adapters.
- Links
httpBatchLink, splitLink, wsLink and link chain customization.
- Client setup
Vanilla client and typed proxy.
- TanStack React Query integration
queryOptions, mutationOptions, and provider setup.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.