Szymon
Szymon9mo ago

tRPC with app router

Hi, where I can find basic and simple code for trpc for next.js app router?
5 Replies
Ray
Ray9mo ago
same
DxD
DxD9mo ago
You want in trpc to create routes ? Or ?
PotatisMannen
PotatisMannen9mo ago
you can use create-t3-app to scaffold a next app using the app dir with trpc and a drizzle connection automatically
PotatisMannen
PotatisMannen9mo ago
Create T3 App
Create T3 App
The best way to start a full-stack, typesafe Next.js app.
PotatisMannen
PotatisMannen9mo ago
otherwise, just inspect the code and replicate some of this in a bare nextjs app i also posted this in the docs channel a while ago: https://discord.com/channels/867764511159091230/1079833901230461068/1121217111398817793