BarisP
BarisP
TTCTheo's Typesafe Cult
Created by lapuerta on 9/20/2023 in #questions
Using NextJS as backend for a mobile app
Next is a backend language that utilizes react for the "view layer". It's a good choice for a standalone API if you are not doing long running tasks.
5 replies
TTCTheo's Typesafe Cult
Created by Miia on 8/30/2023 in #questions
problems with next-auth
Try different browsers and double check everyting
135 replies
TTCTheo's Typesafe Cult
Created by Miia on 8/30/2023 in #questions
problems with next-auth
Check your db, if you have any user and accounts, delete everything and try once more.
135 replies
TTCTheo's Typesafe Cult
Created by _anno on 6/11/2023 in #questions
What kind of headless CMS would you chose in 2023?
I liked DatoCMS, it was very fun and easy however their pricing is a bit much. I would create my own cms at this point. Check out shadcn/taxonomy, it can give you pretty much what you need, in terms of blog dashboard. Or with t3.
9 replies
TTCTheo's Typesafe Cult
Created by Zepeto on 3/27/2023 in #questions
next auth 2FA
29 replies
TTCTheo's Typesafe Cult
Created by Jakub on 3/27/2023 in #questions
How should you approach invalidating queries in trpc?
This is what y'all need. And it only refetches what you have on the page. Removed all my invalidation logic on my hooks after this. https://trpc.io/docs/reactjs/usecontext#invalidate-full-cache-on-every-mutation
27 replies
TTCTheo's Typesafe Cult
Created by hyperzone on 2/12/2023 in #questions
Prisma middleware delete
In the procedure where you make db delete the category, before doing that, handle the bucket deleting image stuff, then remove the category, or product.
11 replies
TTCTheo's Typesafe Cult
Created by scinorandex on 1/7/2023 in #questions
Is it possible to use tRPC as *just* a fullstack API server and client?
That's what's it's designed for. If I understand you correctly. If you are not going to utilize trpc to fetch data from your own next endpoint, please do. Also you can check trpc open-api if you are planning to consume your api from other apps.
11 replies
TTCTheo's Typesafe Cult
Created by xoldyckk on 1/6/2023 in #questions
What are different approaches to persisting the state of a page(dynamic pages included)?
2 replies