Nestjs Trpc

Build end-to-end type-safe tRPC APIs inside NestJS using the nestjs-trpc adapter — @Router/@Query/@Mutation/@Subscription decorators, TRPCModule.forRoot, injectable middlewares and context, Zod input/output schemas, and the Rust CLI that generates the AppRouter type for clients. Use this skill whenever the user mentions nestjs-trpc, tRPC in a NestJS app, @Router or @Query decorators, TRPCModule, AppRouterHost, "typed API between my Nest backend and frontend", generating AppRouter types, or is migrating a NestJS GraphQL/REST API to tRPC — even if they don't name the library explicitly.

trycompai d95b0a3 6 files · 61.4 KB Updated

File contents

trycompai/crm/tree/main/.agents/skills/nestjs-trpc commit d95b0a35e1

Frequently asked questions

npx skillmds@latest add trycompai/nestjs-trpc