trpc with nextjs 13 (api folder inside app folder) with a custom context

Hi, im trying to integrate trpc with my nextjs 13 project, i already tried to replicate something like this repo but it does not work and i get an error on my client page [Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error) (users.getAll, line 0) repo: https://github.com/trpc/next-13
GitHub
GitHub - trpc/next-13: experimental playground for tRPC + next.js 13
experimental playground for tRPC + next.js 13. Contribute to trpc/next-13 development by creating an account on GitHub.
1 Reply
mattddean
mattddean15mo ago
This is experimental too, but you can try it https://github.com/mattddean/t3-app-router-edge-drizzle
GitHub
GitHub - mattddean/t3-app-router-edge-drizzle: A simple example app...
A simple example app which runs the excellent T3 Stack on the Edge runtime, with Next.js's beta App Router. Database queries with drizzle-orm. - GitHub - mattddean/t3-app-router-edge-drizzl...