revelt / next-trpc

test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js + TRPC

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

About

test


Languages

Language:TypeScript 85.6%Language:CSS 14.4%