Szymon
Szymon13mo ago

tRPC with app router

Hi, where I can find basic and simple code for trpc for next.js app router?
5 Replies
Ray
Ray13mo ago
same
<DxD/>
<DxD/>13mo ago
You want in trpc to create routes ? Or ?
PotatisMannen
PotatisMannen13mo ago
you can use create-t3-app to scaffold a next app using the app dir with trpc and a drizzle connection automatically
PotatisMannen
PotatisMannen13mo ago
Create T3 App
Create T3 App
The best way to start a full-stack, typesafe Next.js app.
PotatisMannen
PotatisMannen13mo 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