2023-05-26

using tRPC

fe

Headings

Tags

using tRPC

J.Gong

2023-05-26

0.24min

using tRPC

tRPC is a RPC framework for TypeScript. A lot people compare it with graphql. After using it, I found out that they are not the same thing. GraphQL is more like Restful API. tRPC is a package to build Restful API with TypeScript.

I suddenly realized that I can use GraphQL in cloud functions. Compared with Restful API, GraphQL can do many work with only one endpoint.

© 2025 All rights reserved..

This website uses Astro.build, Mantine and React Bits | deployed on Vercel