AllesCoolAllesBestens
AllesCoolAllesBestens
TTCTheo's Typesafe Cult
Created by yaviscoke on 11/17/2023 in #questions
Next-auth redirects me on auth/error on signIn()
I don't know then, hope someone else can help you
9 replies
TTCTheo's Typesafe Cult
Created by yaviscoke on 11/17/2023 in #questions
Next-auth redirects me on auth/error on signIn()
Did you update the NEXTAUTH_URL environment variable?
9 replies
TTCTheo's Typesafe Cult
Created by AllesCoolAllesBestens on 11/17/2023 in #questions
Using Prisma or tRPC API from T3 Stack in different project
I was looking into turborepo as well
12 replies
TTCTheo's Typesafe Cult
Created by AllesCoolAllesBestens on 11/17/2023 in #questions
Using Prisma or tRPC API from T3 Stack in different project
Thank you, the example repo is very helpful
12 replies
TTCTheo's Typesafe Cult
Created by AllesCoolAllesBestens on 11/17/2023 in #questions
Using Prisma or tRPC API from T3 Stack in different project
However if someone with more experience in this area has something to add I would love to hear it.
12 replies
TTCTheo's Typesafe Cult
Created by AllesCoolAllesBestens on 11/17/2023 in #questions
Using Prisma or tRPC API from T3 Stack in different project
If you read this thank you for listening to me thinking out loud lol
12 replies
TTCTheo's Typesafe Cult
Created by AllesCoolAllesBestens on 11/17/2023 in #questions
Using Prisma or tRPC API from T3 Stack in different project
I believe my question is answered here: https://trpc.io/docs/quickstart#1-setup-the-trpc-client
12 replies
TTCTheo's Typesafe Cult
Created by AllesCoolAllesBestens on 11/17/2023 in #questions
Using Prisma or tRPC API from T3 Stack in different project
No description
12 replies
TTCTheo's Typesafe Cult
Created by AllesCoolAllesBestens on 11/17/2023 in #questions
Using Prisma or tRPC API from T3 Stack in different project
This would probably work if I use the genreated prisma client I guess, but I would like to know how tRPC would be used in this context, or if it doesn't make sense at all to use tRPC like this.
12 replies
TTCTheo's Typesafe Cult
Created by AllesCoolAllesBestens on 11/17/2023 in #questions
Using Prisma or tRPC API from T3 Stack in different project
I could move the src/utils/api.tsas well, import it inside nextjs' pages/_app.tsx and I guess nextjs would work as before. However I would need to do the same on my kafka_consumer_app and this would just create a new tRPC router including all the routes I need for my nextjs app but not for my consumer. It wouldn't really use my existing tRPC API but duplicating it. Doesn't feel right.
12 replies
TTCTheo's Typesafe Cult
Created by AllesCoolAllesBestens on 11/17/2023 in #questions
Using Prisma or tRPC API from T3 Stack in different project
Would it be reasonable to move the serverdirectory from my t3 app outside of the app directory like so:
12 replies