https://github.com/trpc/trpc
๐งโโ๏ธ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.
https://github.com/trpc/trpc
api next nextjs prisma react typescript
Last synced: 4 days ago
JSON representation
๐งโโ๏ธ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.
- Host: GitHub
- URL: https://github.com/trpc/trpc
- Owner: trpc
- License: mit
- Created: 2020-07-18T01:17:11.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-05-05T10:05:09.000Z (8 months ago)
- Last Synced: 2025-05-05T11:08:02.479Z (8 months ago)
- Topics: api, next, nextjs, prisma, react, typescript
- Language: TypeScript
- Homepage: https://tRPC.io
- Size: 45.4 MB
- Stars: 37,155
- Watchers: 88
- Forks: 1,356
- Open Issues: 176
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
- react-cheatsheet - tRPC
- awesome-web-dev - trpc
- awesome-fe-resources - trpc
- StarryDivineSky - trpc/trpc - tRPC ๅ ทๆ้ถ deps ๅๆๅฐ็ๅฎขๆท็ซฏๅ ็จ็ฉบ้ดใๆไบๆทปๅ ๅฐๆจ็ฐๆ็้กน็ฎไธญใReact.js/Next.js/Express.js/Fastify ้้ ใ่ฎข้ ๆฏๆใ่ฏทๆฑๆนๅค็ - ๅๆถๅๅบ็่ฏทๆฑๅฏไปฅ่ชๅจๅๅนถไธบไธไธชใ (ๅ็ซฏๅผๅๆกๆถๅ้กน็ฎ / ็ฎก็้ขๆฟ)
- awesome-star-libs - trpc / trpc
- awesome - trpc/trpc - ๐งโโ๏ธ Move Fast and Break Nothing. End-to-end typesafe APIs made easy. (TypeScript)
- awesome-ccamel - trpc/trpc - ๐งโโ๏ธ Move Fast and Break Nothing. End-to-end typesafe APIs made easy. (TypeScript)
- awesome - trpc/trpc - ๐งโโ๏ธ Move Fast and Break Nothing. End-to-end typesafe APIs made easy. (TypeScript)
- awesome-github-repos - trpc/trpc - ๐งโโ๏ธ Move Fast and Break Nothing. End-to-end typesafe APIs made easy. (TypeScript)
- fucking-awesome-angular - trpc - Move Fast and Break Nothing. End-to-end typesafe APIs made easy. (Underlying Technologies / TypeScript)
- awesome - trpc/trpc - ๐งโโ๏ธ Move Fast and Break Nothing. End-to-end typesafe APIs made easy. (TypeScript)
- awesome-zod - `tRPC` - Build end-to-end type-safe APIs without GraphQL. (APIs and Servers)
- awesome-angular - trpc - Move Fast and Break Nothing. End-to-end typesafe APIs made easy. (Underlying Technologies / TypeScript)
- fucking-awesome-microservices - tRPC - End-to-end typesafe APIs. (Service Toolkits / Node.js)
- awesome-microservices - tRPC - End-to-end typesafe APIs. (Service Toolkits / Node.js)
- awesome-typesafe - trpc/trpc - Create end-to-end typesafe APIs with ease. (**1. Libraries** / APIs)
- awesome-repositories - trpc/trpc - ๐งโโ๏ธ Move Fast and Break Nothing. End-to-end typesafe APIs made easy. (TypeScript)
- awesome-github-star - trpc - to-end typesafe APIs made easy. | trpc | 28900 | (TypeScript)
- awesome-list - trpc - to-end typesafe APIs made easy | trpc | 1286 | (TypeScript)
- awesome-projects - TRPC - safed rpc using typescript development (node.js/javascript)
README
tRPC
Move fast and break nothing.
End-to-end typesafe APIs made easy.
The client above is not importing any code from the server, only its type declarations.
## Intro
tRPC allows you to easily build & consume fully typesafe APIs without schemas or code generation.
### Features
- โ
ย Well-tested and production ready.
- ๐งโโ๏ธย Full static typesafety & autocompletion on the client, for inputs, outputs, and errors.
- ๐ย Snappy DX - No code generation, run-time bloat, or build pipeline.
- ๐ย Light - tRPC has zero deps and a tiny client-side footprint.
- ๐ปย Easy to add to your existing brownfield project.
- ๐ย Batteries included - React.js/Next.js/Express.js/Fastify adapters. _(But tRPC is not tied to React, and there are many [community adapters](https://trpc.io/docs/awesome-trpc#-extensions--community-add-ons) for other libraries)_
- ๐ฅย Subscriptions support.
- โก๏ธย Request batching - requests made at the same time can be automatically combined into one
- ๐ย Quite a few examples in the [./examples](./examples)-folder
## Quickstart
There are a few [examples](https://trpc.io/docs/example-apps) that you can use for playing out with tRPC or bootstrapping your new project. For example, if you want a Next.js app, you can use the full-stack Next.js example:
**Quick start with a full-stack Next.js example:**
```sh
# yarn
yarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
# npm
npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
# pnpm
pnpm create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
# bun
bunx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
# deno
deno init --npm next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
```
**๐ See full documentation on [tRPC.io](https://trpc.io/docs). ๐**
## Star History
## Core Team
> Do you want to contribute? First, read the Contributing Guidelines before opening an issue or PR so you understand the branching strategy and local development environment. If you need any more guidance or want to ask more questions, feel free to write to us on Discord!
### Project leads
> The people who lead the API-design decisions and have the most active role in the development

Alex / KATT

Julius Marminge

Nick Lucas
### Active contributors
> People who actively help out improving the codebase by making PRs and reviewing code
### Special shout-outs
> Individuals who have made exceptional contributions to tRPC through code, documentation, community building, and other valuable efforts
## Sponsors
If you enjoy working with tRPC and want to support us, consider giving a token appreciation by [GitHub Sponsors](https://trpc.io/sponsor)!
### ๐ฅ Silver Sponsors

Cal.com, Inc.

Greptile

CodeRabbit
### ๐ฅ Bronze Sponsors
### ๐ป Smaller Backers

Ahoy Labs

Unkey

Proxidize

Liminity AB

Max Greenwald

Dmitry Maykov

Chris Bradley

Kalle

fanvue

Drew Powers

Drizzle Team

Spencer McKenney

BestKru

Ferry Health

Stefan Wallin

Maicon Carraro

Andrei Karushev

Venue Ink

Val Town

Filip Kin
## All contributors โจ
---
