Vincent Udén
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Slavi on 5/25/2024 in #questions
Guys, is there a way I can add where: eq(users.email, email) to a findFirst query in DrizzleOrm?
Well if you made any changes you do have to regenerate it Im pretty sure
20 replies
TTCTheo's Typesafe Cult
•Created by Slavi on 5/25/2024 in #questions
Guys, is there a way I can add where: eq(users.email, email) to a findFirst query in DrizzleOrm?
So I would start by checking the defninitions in db/index
20 replies
TTCTheo's Typesafe Cult
•Created by Slavi on 5/25/2024 in #questions
Guys, is there a way I can add where: eq(users.email, email) to a findFirst query in DrizzleOrm?
Your db.query.users is somehow undefined
20 replies
TTCTheo's Typesafe Cult
•Created by Slavi on 5/25/2024 in #questions
Guys, is there a way I can add where: eq(users.email, email) to a findFirst query in DrizzleOrm?
20 replies
TTCTheo's Typesafe Cult
•Created by Sabbir Hossain Shuvo on 4/27/2024 in #questions
Nodejs take less time instead Bun
2 replies
TTCTheo's Typesafe Cult
•Created by Vengeance on 4/22/2024 in #questions
create-t3-app next auth question
Allright, please mark the question as solved by the way
9 replies
TTCTheo's Typesafe Cult
•Created by Vengeance on 4/22/2024 in #questions
create-t3-app next auth question
NextAuth has no way of know if a person in real life has multiple accounts on different services. Im not even sure how it would know that. That's why they are all distinct
9 replies
TTCTheo's Typesafe Cult
•Created by Vengeance on 4/22/2024 in #questions
create-t3-app next auth question
Im not sure what you are asking. A sign in using apple would be a new user even if a google account exists with the same email linked to it. If that is what you are asking
9 replies
TTCTheo's Typesafe Cult
•Created by Vengeance on 4/22/2024 in #questions
create-t3-app next auth question
Yes, unless you change it, as per https://github.com/nextauthjs/next-auth/discussions/6695
9 replies
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 4/13/2024 in #questions
It works locally but doesn't save to the database when deployed on Vercel.
Nope. I dont use uploadThing
18 replies
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 4/13/2024 in #questions
It works locally but doesn't save to the database when deployed on Vercel.
Then you are doing something wrong on your vercel dashboard or its not running at all
18 replies
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 4/13/2024 in #questions
It works locally but doesn't save to the database when deployed on Vercel.
I am capable of reading. You already said that. Try to add some logging at as many points as you can. See where execution stops
18 replies
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 4/13/2024 in #questions
It works locally but doesn't save to the database when deployed on Vercel.
Nope. Without an error message of any kind I have nothing to offer except checking the obvious stuff like making sure env variables are correct
18 replies
TTCTheo's Typesafe Cult
•Created by Roasteg on 4/19/2024 in #questions
Where would you host full T3 stack, besides vercel or netlify?
fly.io exists if you want to work with a VPS/Docker deployment
9 replies
TTCTheo's Typesafe Cult
•Created by Roasteg on 4/19/2024 in #questions
Where would you host full T3 stack, besides vercel or netlify?
What is your motivation for not using vercel or netlify? The experience will be significantly smoother on Vercel than anywhere else
9 replies
TTCTheo's Typesafe Cult
•Created by gave_one on 4/19/2024 in #questions
Heights 100 % problems
What's it looking like in the inspector?
3 replies
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 4/13/2024 in #questions
It works locally but doesn't save to the database when deployed on Vercel.
Could your serverless functions be timing out? If youre on vercel free itjink theyre capped at 10seconds runtime
18 replies
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 4/13/2024 in #questions
It works locally but doesn't save to the database when deployed on Vercel.
You really should be getting an error somewhere if your intended data doesnt make it to your database. Have you checked your vercel logs?
18 replies
TTCTheo's Typesafe Cult
•Created by pyfir on 4/14/2024 in #questions
Total noob! Supabase and the t3 stack
What are you struggling with? How long do you get before you run into issues?
3 replies
TTCTheo's Typesafe Cult
•Created by Son on 4/4/2024 in #questions
User Privacy Question
No that would not satisfy my concerns. It's not about the technical implementation. I think the entire idea of prying into individuals sensitive data is immoral. I wouldn't care if you encrypt the logs so that only you could read them (in case of a data breach for example) since I think you reading the logs is the bad part.
I don't care much for discussing the business idea further than this.
I'm not a security guy so I can't recommend a specific solution. However all logs should be encrypted, not by a single key since leaking or having that key cracked would expose all user data at once. It would need at least some segmentation. How much you need to care about all this is highly dependent on how sensitive the data in question would be
18 replies