|Next.js starter with Prisma, E2E testing, & ESLint|
Quick start with
|Express server & procedure calls with node.js.|
Uses experimental subscriptions.
Zod isn't a required dependency, but it's used in the sample router below.
Implement your tRPC router. A sample router is given below:
If your router file starts getting too big, split your router into several subrouters each implemented in its own file. Then merge them into a single root
tRPC includes an adapter for Express.js out of the box. This adapter lets you convert your tRPC router into an Express.js middleware.
Your endpoints are now available via HTTP!