GithubHelp home page GithubHelp logo

frantic / trpc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trpc/trpc

0.0 1.0 0.0 15.26 MB

πŸ§™β€β™€οΈ End-to-end typesafe APIs made easy

Home Page: https://tRPC.io

License: MIT License

TypeScript 94.75% JavaScript 3.97% CSS 1.28%

trpc's Introduction

tRPC

End-to-end typesafe APIs made easy

codecov

Server/client example The client above is not importing any code from the server, only it's type declarations.
Import type only imports declarations to be used for type annotations and declarations. It always gets fully erased, so there’s no remnant of it at runtime.

Intro

tRPC allows you to easily build & consume fully typesafe APIs, without schemas or code generation.

  • πŸ§™β€β™‚οΈΒ  Full static typesafety & autocompletion on the client - on inputs, outputs, & 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-library + Next.js/Express adapters. (But tRPC is not tied to React - reach out if you want to make a Svelte/Vue/... lib)
  • πŸ₯ƒΒ  Simple to use APIs for queries, mutations, & subscriptions support.
  • ⚑️  Request batching - requests made at the same time can be automatically combined into one

... and:

  • πŸ‘€Β  Quite a few examples in the ./examples-folder
  • βœ…Β  It's well-tested & running in production.

Still reading? Follow @alexdotjs on Twitter if you have any questions or want to keep up to date what's coming next.


Usage

πŸ‘‰ See full documentation documentation on tRPC.io. πŸ‘ˆ

Quick start with a full-stack Next.js example:

npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter

Core Team


Alex / KATT

πŸ‘‹ Hi, I'm Alex and I am the main maintainer if tRPC, don't hesitate to contact me on Twitter or email if you are curious about tRPC in any way.

Financial Contributors

If you like working with tRPC, consider giving a token a apprecation by GitHub Sponsors or get in touch if you want your company's logo featured in the tRPC repository or on the website.

Get in touch on Twitter or by email.

Companies

Individuals


Anthony Short

Hampus Kraft

Daniel Yogel

Sam Holmes

All contributors ✨

tRPC is developed by KATT, originally based on a proof-of-concept by colinhacks.


Alex Johansson

πŸ€” πŸ’» ⚠️ πŸ“– πŸ’‘ 🚧

Colin McDonnell

πŸ€” πŸ’» ⚠️ πŸ“–

Pieter Venter

πŸ€” πŸ‘€

Kalle

πŸ›

Malte Granderath

πŸ›

KristΓ³f PoduszlΓ³

πŸ€” πŸ›

Rich Haines

πŸ’‘

Simon Edelmann

πŸ’» πŸ€” ⚠️ πŸ“– πŸ‘€

Anthony Short

πŸ’΅

Hampus Kraft

πŸ’΅

hypnodron

⚠️ πŸ’» πŸ›

Daniel Yogel

πŸ’΅ πŸ‘€ πŸ›

Sam Holmes

πŸ’΅

Misha Kaletsky

πŸ€” ⚠️ πŸ’»

s

πŸ“–

Powered by Vercel

trpc's People

Contributors

allcontributors[bot] avatar anthonyshort avatar boredland avatar chronark avatar colinhacks avatar dependabot-preview[bot] avatar dependabot[bot] avatar hypnodron avatar jzimmek avatar katt avatar kripod avatar lostfictions avatar mwarger avatar simonedelmann avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.