Next.js + tRPC: Typed Queries Made Easy

This example shows how you can make a typed query using a minimal implementation of tRPC following this as a reference.

Setup

npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-minimal-starter trpc-minimal-starter
cd trpc-minimal-starter
npm i
npm run dev

Development

Start project

npm run dev        # starts next.js

Download Details:

Author: trpc

Official Github: https://github.com/trpc/examples-next-minimal-starter 

License

#typescript 

Next.js + tRPC: Typed Queries Made Easy
1.30 GEEK