extra credit Search 85,062 technologies ⌘K Download for Mac

tRPC

Category
Frameworks and libraries
Docs outline
12 sections

Official docs outline

trpc.io
  1. Concepts

    End-to-end type safety, RPC vs REST and GraphQL, queries, mutations and subscriptions.

  2. Define routers

    Creating router and merging routers, AppRouter type.

  3. Define procedures

    Query, mutation and subscription procedures, input and output.

  4. Context

    Creating context per request, auth info and dependencies.

  5. Input and output validators

    Zod and other validators for input and output.

  6. Middlewares

    Procedure middleware, auth, logging and context extension.

  7. Error handling

    TRPCError, error codes and formatters.

  8. Subscriptions

    Async generators, SSE and WebSocket subscriptions.

  9. Adapters

    Standalone, Express, Fastify, Next.js, Lambda and fetch adapters.

  10. Links

    httpBatchLink, splitLink, wsLink and link chain customization.

  11. Client setup

    Vanilla client and typed proxy.

  12. 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.

All 113
↑↓ move ↵ open