{"repo":"KevinEdry/nestjs-trpc","free":true,"listed":false,"github":"https://github.com/KevinEdry/nestjs-trpc","clone":"git clone https://github.com/KevinEdry/nestjs-trpc.git","description":"Providing native support for decorators and implement an opinionated approach that aligns with NestJS conventions.","language":"Rust","stars":345,"topics":["api","nestjs","trpc","typescript","express"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Nestjs tRPC Adapter An opinionated approach to building End-to-end typesafe APIs with tRPC within NestJS. The client above is not importing any code from the server, only its type declarations. Introduction NestJS tRPC is a library designed to integrate the capabilities of tRPC into the NestJS framework. It aims to provide native support for decorators and implement an opinionated approach that aligns with NestJS conventions. Features - Fast Rust-based CLI for type generation with rich error messages - Full static typesafety & autocompletion on the client, for inputs, outputs, and errors - Implements the NestJS opinionated approach to how tRPC works - Watch mode for auto-regeneration during development - Out of the box support for Dependency Injection within the routes and procedures - Native support for express , fastify , and zod with more drivers to come - Examples are available in the ./examples folder Quickstart Installation To install NestJS tRPC with your preferred package manager, you can use any of the following commands: Generate Types Run the CLI to generate your AppRouter types: How to use Here's a brief example demonstrating how to use the decorators available in NestJS tRPC : 👉 See full documentation on NestJS-tRPC.io. 👈 All contributors NestJS tRPC is developed by Kevin Edry, which taken a huge inspiration from both NestJS and tRPC inner workings.","default_branch":null,"files":null,"tree":[],"storefront":"/r/KevinEdry","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KevinEdry/nestjs-trpc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}