DraganovicDr
TTCTheo's Typesafe Cult
•Created by DraganovicDr on 11/27/2023 in #questions
Seeking Advice for a T3 Stack Application: Separating tRPC from NextJS
I am currently planning to develop a web application using a T3 stack that includes tRPC, NextJS, and Prisma (or Drizzle). My specific focus is to run tRPC as a standalone server, separate from NextJS.
My primary request is to find any starter templates or resources that align with this architecture. Has anyone here worked on a similar setup, or can anyone point me towards resources or templates that would facilitate this kind of structure?
Additionally, I'm curious about the compatibility of Next-Auth in this separated architecture. Is it feasible to integrate Next-Auth effectively when tRPC is running on its own server?
Any insights, experiences, or advice on either of these points would be immensely helpful. I'm particularly interested in challenges or lessons learned from setting up a similar architecture, especially regarding the integration of Next-Auth.
Thank you in advance for your help and insights!
14 replies
TTCTheo's Typesafe Cult
•Created by DraganovicDr on 1/20/2023 in #questions
Zustand Electron Middleware
6 replies