Skip to content

gt-codes/nextjs-trpc-template

Repository files navigation

This is a basic template using TRPC and Next.js.

Getting Started

Run yarn to install the dependencies (this project uses yarn but feel free to use whatever package manager you're most comfortable with)

Run the development server with yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the query in src/backend/routers/userRoute.tsx. You can read more about TRPC's usage wiith Next.js here.