- Notifications
You must be signed in to change notification settings - Fork1.3k
🧙♀️ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.
License
trpc/trpc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
tRPC allows you to easily build & consume fully typesafe APIs without schemas or code generation.
- ✅ 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 manycommunity adapters 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-folder
There are a fewexamples 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:
# yarnyarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter# npmnpx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter# pnpmpnpm create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter# bunbunx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter# denodeno init --npm next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
👉 See full documentation ontRPC.io. 👈
Do you want to contribute? First, read theContributing 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 onDiscord!
The people who lead the API-design decisions and have the most active role in the development
Alex / KATT | Julius Marminge | Nick Lucas |
People who actively help out improving the codebase by making PRs and reviewing code
![]() Hubert Mathieu |
Individuals who have made exceptional contributions to tRPC through code, documentation, community building, and other valuable efforts
Theo Browne | Sachin Raja |
If you enjoy working with tRPC and want to support us, consider giving a token appreciation byGitHub Sponsors!
Retool |
Cal.com, Inc. | ![]() Greptile | CodeRabbit |
Dr. B | Ryan Magoon | JonLuca De Caro |
About
🧙♀️ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.