Software Alternatives & Reviews

tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy

Fern WunderGraph SheetsInterview
  1. 1
    Describe your API endpoints, types, errors, and examples. Generate SDKs, documentation, and server boilerplate.
    Pricing:
    • Open Source
    I think part of why tRPC shines is <i>because</i> it's tightly coupled to TypeScript (and especially Zod, its schema validation library of choice - many of its features map 1:1 onto TypeScript concepts that don't exist in many other languages), which means it can avoid many of the issues that OpenAPI generators have. I'd also like to see a good TS-first OpenAPI client - Fern [0] is probably the closest I've seen. In general in my experience, when you take away the constraint of inter-language interop, you get much smoother DX because you can take advantage of language features. A good example would be the lack of native date/time types in JSON - valuable for interop because different languages handle dates differently, but painful when you're going to/from the same language. Web applications are a special case, because the client-side is effectively constrained to either JavaScript or WebAssembly (except you'd still need at least some JS in the latter case), so it follows that you'll get the best developer DX if you have JS or TS on both sides of the stack, especially if you can set up your project in a way that lets you share code between both. Not always an option, but I've always felt more productive (as a full-stack dev) when I've been using TS on both the client and server, compared to TS on the client and another language on the backend. [0]: <a href="http://buildwithfern.com/">http://buildwithfern.com/</a>.

    #Utilities #Application Utilities #API Tools 6 social mentions

  2. Save 2-4 weeks / 90% of the code building web apps by automating API integrations and security.
    Pricing:
    • Open Source
    I'm a big fan of tRPC. It's amazing how it pushed TypeScript only stacks to the limit in terms of DX. Additionally, it made the GraphQL community aware of the limitations and tradeoffs of the Query language. At the same time, I think tRPC went through a really fast hype cycle and it doesn't look like we're seeing a massive move away from REST and GraphQL to RPC. That said, we see a lot of interest in RPC these days as we've adopted some ideas from tRPC and the old NextJS. In our BFF framework (https://wundergraph.com/) we've combined file based routing with RPC. In addition to tRPC, we're automatically generating a JSON Schema for each operation and an OpenAPI spec for the whole set of operations. People quite like this approach because you can easily share a set of RPC endpoints as an OpenAPI spec or postman collection. In addition, there are no discussions around HTTP verbs and such, there's only really queries, mutations and subscriptions. I'm curious what other people's experiences are with GraphQL, REST and RPC style APIs? What are you using these days and how many people/teams are involved/using your apis?

    #API #GraphQL #ReactJS 54 social mentions

  3. Evaluate Excel Skills 2.5x Faster - An online interviewing platform directed at Business Analysts, Investment Bankers, and any job using Excel
    Pricing:
    • Paid
    • $300.0 / Annually ("3 Excel tasks", "100 excel assignments", "3 users")

    #Hiring And Recruitment #Digital Assessments And Tests #Spreadsheets 1 social mentions

Discuss: tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy

Log in or Post with