#66th of 55 in Backend and cloud templates

trpc

TypeScript library for typesafe APIs without schemas or code generation

Stars
40.8k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript

Missed the latest GitHub check; these facts may be older.

Overview

tRPC lets a TypeScript client call server procedures with inferred types for inputs, outputs and errors, so the client imports only type declarations from the server. It has no code generation step and zero dependencies, and ships adapters for React, Next.js, Express and Fastify, plus subscriptions and request batching. The repo includes example apps, such as a Next.js and Prisma starter.

Who it is for: TypeScript developers building full-stack or API-backed apps

Strengths

  • No schema files or code generation; types flow from server to client
  • Zero dependencies with a small client footprint
  • Adapters for React, Next.js, Express and Fastify, plus community adapters
  • Supports subscriptions and automatic batching of concurrent requests

Weaknesses

  • Type sharing assumes a TypeScript client and server, typically in one repo
  • Not an AI project; no model or LLM features in the README
  • Not a standalone service; it is a library you embed in an existing app
  • Starter examples are in the repo, not a dedicated template package

What it needs

  • TypeScript

Also in Backend and cloud templates

See all 55
Also in Backend and cloud templates
RankProjectScore
1fastapiPython web framework for typed REST APIs with automatic OpenAPI docs104.7k stars+1,871 (+1.8%) in 30 daysMIT90 out of 100
2fiberExpress-style HTTP web framework for Go, built on fasthttp40.3k starsMIT90 out of 100
3generator-jhipsterCode generator for Java apps with Angular, React or Vue frontends22.5k starsApache-2.090 out of 100
#4serverlessCLI that deploys AWS Lambda code and infrastructure from serverless.yml46.9k starscustom license89 out of 100
#5echoMinimalist Go web framework with a radix-tree router and middleware32.8k starsMIT88 out of 100