Does it make sense to use tRPC without a frontend?

This may be a stupid question, but… I’m adding new API endpoints to an existing express application, and I’m interested in using tRPC. The problem is that it doesn’t interact with a frontend, so I question if it’s worth using tRPC in the first place. Thoughts?
Solution:
not necessarily, if you like the DX of trpc backend to creating the routes & procedures & testing. It makes sense to use the trpc server still. you can even just go with next, express, fastify or node
Jump to solution
2 Replies
Solution
mrnicericee
mrnicericee14mo ago
not necessarily, if you like the DX of trpc backend to creating the routes & procedures & testing. It makes sense to use the trpc server still. you can even just go with next, express, fastify or node
Neto
Neto14mo ago
trpc main usage is typesafe communication between systems you can easily use the vanilla client to communicate between running projects in the same monorepo