trpc / trpc
- вторник, 13 сентября 2022 г. в 00:32:04
🧙♀️ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.
🚀 You are looking at a pre-release of tRPC v10!You might be looking for the
main
-branch which is the stable v9-version.See our migration guide for a summary of what is changing or take a look at the v10 docs website. There is also the
examples-v10-next-prisma-starter-sqlite
project to try out a real project using this version.
The client above is not importing any code from the server, only its type declarations.
tRPC allows you to easily build & consume fully typesafe APIs, without schemas or code generation.
There are a few examples 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:
# 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
tRPC is rapidly gaining momentum!
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!
Alex / KATT |
The people who lead the API-design decisions and has the most active role in the development
Sachin Raja |
Alex / KATT |
People who actively help out improving the codebase by making PRs and reviewing code
James Berry |
Julius Marminge |
Ahmed Elsakaan |
bautistaaa |
Theo Browne |
If you enjoy working with tRPC and want to support me consider giving a token appreciation by GitHub Sponsors!
Also, if your company using tRPC and want to support long-term maintenance of tRPC, have a look at the sponsorship tiers or get in touch to discuss potential partnerships.
Render |
Cal.com, Inc. |
Jason Docton |
Ping.gg |
Prisma |
Newfront |
Dr. B |
Ryan |
Snaplet |
Flylance |
tRPC is developed by KATT, originally based on a proof-of-concept by colinhacks.