baotaoh
TTCTheo's Typesafe Cult
•Created by baotaoh on 2/10/2023 in #questions
Deploy app using Nodemailer-express-handlebars + nodemailer to send emails on vercel
Yo thats great!
Thank you , i was just thinking about this the other day.
6 replies
TTCTheo's Typesafe Cult
•Created by Chen on 12/12/2022 in #questions
how does NextJs know what code to run on the backend vs frontend?
Create t3 app uses trpc.
And there is a trpc folder in the api folder that loads your trpc routes - simply put.
7 replies
TTCTheo's Typesafe Cult
•Created by Lopen on 10/27/2022 in #questions
best approach to load 2 tables that has no relationship but rather has a foreign key
Oh i see, glad you figured it out. 💪
12 replies
TTCTheo's Typesafe Cult
•Created by Lopen on 10/27/2022 in #questions
best approach to load 2 tables that has no relationship but rather has a foreign key
12 replies
TTCTheo's Typesafe Cult
•Created by Lopen on 10/27/2022 in #questions
best approach to load 2 tables that has no relationship but rather has a foreign key
Yes that’s the correct way.
12 replies
TTCTheo's Typesafe Cult
•Created by Lopen on 10/27/2022 in #questions
best approach to load 2 tables that has no relationship but rather has a foreign key
On the db level it is. but you can also reference it programmatically.
I.e find user -> find wallet with userid -> user & wallet.
with relation you just include the related table in the same query.
12 replies
TTCTheo's Typesafe Cult
•Created by Lopen on 10/27/2022 in #questions
best approach to load 2 tables that has no relationship but rather has a foreign key
why do you not want to add relation? The objective of a fk is to link data
https://www.prisma.io/docs/guides/general-guides/database-workflows/foreign-keys
12 replies
TTCTheo's Typesafe Cult
•Created by baotaoh on 9/26/2022 in #questions
Project time Estimate
Thank god at least i have contingencies in case that happens.
29 replies
TTCTheo's Typesafe Cult
•Created by baotaoh on 9/26/2022 in #questions
Project time Estimate
No but i have sent a bill for the first 40 hours and will send another for the remaining 60 and try to do as much as i can with that and if they want to me to continue they can decide then.. i cant drop them since its through a friend but i will increase my rate after this to scare them off , only sad part is they do have a lot of project to be worked on in the future and i had planned around them but just gotta find new clients instead. not worth the headache
29 replies
TTCTheo's Typesafe Cult
•Created by baotaoh on 9/26/2022 in #questions
Project time Estimate
honestly should have asked this question before i started the project My earlier client has been quite easy and understood when i told them this
but this client has been a pain in the sense that they kind of pressured me to give an estimate.
so now after starting the project and about 40 hours gone to writing spec and designing key components. i tell them the estimate is obviously wrong and it probably going to be 200 hours if not more and they "lose their shit" purposely misinterpreting things i have said or written.
Mind you they are very adamant about how important this project is and how important it is done properly with a 3 months timeline...
Am at a loss really and wanted to know if i am at fault here for saying it will be 200 hours or they are just shitty clients but this has been very helpful and in the future i will apply this lessons.
29 replies
TTCTheo's Typesafe Cult
•Created by baotaoh on 9/26/2022 in #questions
Project time Estimate
Yeah for sure and clients dont understand that at all. learned that the hard way..
29 replies
TTCTheo's Typesafe Cult
•Created by baotaoh on 9/26/2022 in #questions
Project time Estimate
Yeah i tried the flatrate but i usually underestimate how long it takes to do things so i end up taking a loss time spent x amount earned
29 replies
TTCTheo's Typesafe Cult
•Created by baotaoh on 9/26/2022 in #questions
Project time Estimate
I am thinking on buying a ui template from the mui store or similar so i can focus on other elements of the app since am not that good at design anyways.
but i just need to figure out if it worth that investment for this project.
29 replies