Skip to content
masterclass Buddy

T3 Stack · Function

httpLink

tRPC lets a TypeScript frontend call backend procedures with inferred types, type checking, and auto-completion. It does this without generated API code.

Last updated

Syntax

createTRPCRouter({ procedureName: publicProcedure.input(schema).query(({ ctx, input }) => result) })

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Next.js
  • Prisma
  • TypeScript
  • Zod
  • create-t3-app
  • publicProcedure
  • createTRPCRouter

Source: tRPC • Create T3 App. Checked 2026-11-03.