System Design · Middle · Question 7 of 75

When is tRPC a good fit?

Explanation

tRPC infers server procedure types directly in the client without code generation or a schema. For public APIs and polyglot clients, REST with OpenAPI, GraphQL or gRPC are better.

Further reading

Problem with a question

System Design · Middle · question 7

Test yourself

Take the System Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz