TRPC is a typesafe Remote Procedure Call framework. Zod allows you to define a schemas, use it for validation, and then infer the TypeScript type based on thatschema. We can get started with a basic Next application, and add a few additional dependencies in order to use tRPC.
Table of contents
Type Safe APIs with tRPCGetting StartedKneel before ZodCreating a RPC endpointIntegrate with the ClientWhy tRPC?Still in fluxSummary1 Comment
Sort: