Jaaneek
Jaaneek
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Myroslav.Toloshnyi on 4/19/2024 in #questions
Custom Sub-Domains on Vercel + Namecheap
There are 2 options: 1. Rewrites in nextjs configs 2. Middleware.ts file I recommend middleware file, look for multi tenancy app nextjs, you will need to adjust it to your case I have something pretty similar with theo.feedbackvote.com
Jaaneek.feedbackvote.com Etc
8 replies
TTCTheo's Typesafe Cult
Created by Myroslav.Toloshnyi on 4/19/2024 in #questions
Custom Sub-Domains on Vercel + Namecheap
Seems good, what is not working? I have the exact same setup in few projects with multi tenancy and it works
8 replies
TTCTheo's Typesafe Cult
Created by Fade on 4/19/2024 in #questions
NextJS wants me use 'use client' on its complied files?
Wrap the component in another component and put „use client” on top. Seems like the creators of some package you are using didn’t use „use client” on top, it’s pretty common
4 replies
DTDrizzle Team
Created by Jaaneek on 4/2/2024 in #help
How to Join/subquery when using orderBy and groupBy
really appreciate that
13 replies
DTDrizzle Team
Created by Jaaneek on 4/2/2024 in #help
How to Join/subquery when using orderBy and groupBy
wtf you are a genius
13 replies
DTDrizzle Team
Created by Jaaneek on 4/2/2024 in #help
How to Join/subquery when using orderBy and groupBy
Right now I'm only selecting propositions if propositionvotes exists. but I would like to always get them
13 replies
DTDrizzle Team
Created by Jaaneek on 4/2/2024 in #help
How to Join/subquery when using orderBy and groupBy
But then I have no idea how to orderBY :X
13 replies
DTDrizzle Team
Created by Jaaneek on 4/2/2024 in #help
How to Join/subquery when using orderBy and groupBy
Should I maybe query by the propositions table? and then do left join? I need to query all propositions anyway
13 replies
DTDrizzle Team
Created by Jaaneek on 4/2/2024 in #help
How to Join/subquery when using orderBy and groupBy
@Aaroned Why not left join? I have 1 to many relation in this case
13 replies
DTDrizzle Team
Created by Jaaneek on 4/2/2024 in #help
How to Join/subquery when using orderBy and groupBy
@Aaroned Thx, works. If you are willing I would really love to read why it works like that. Even a quick explanation would be awesome ❤️
13 replies
DTDrizzle Team
Created by Jaaneek on 3/7/2024 in #help
Vercel Edge Runtime + Supabase + Drizzle, 15 seconds server lags + Trpc
Yeah I think supabase & edge vercel are just not ready to work together and something in drizzle transaction breaks them 😦 Thanks for checking it out!
6 replies
DTDrizzle Team
Created by Jaaneek on 3/7/2024 in #help
Vercel Edge Runtime + Supabase + Drizzle, 15 seconds server lags + Trpc
@solo can you spot any other mistakes? ❤️
6 replies
DTDrizzle Team
Created by Jaaneek on 3/7/2024 in #help
Vercel Edge Runtime + Supabase + Drizzle, 15 seconds server lags + Trpc
No description
6 replies
TtRPC
Created by Jaaneek on 1/31/2024 in #❓-help
TRPC not working on multi tenant app
I had a mistake in the code. I didn’t await/return a promise on mutations so they resolved too quickly and the query failed. It was hard to debug because it worked with local host and lambda functions but failed on vercel edge runtime, because they are killing the server as soon as the function ends. Lambda/local host lives beyond that so I couldn’t detect a problem there
7 replies
TTCTheo's Typesafe Cult
Created by jackmcbride_98 on 10/4/2023 in #questions
How do I revalidatePath from a trpc router?
Where did you get CreateNextContextOptions from?
11 replies
TTCTheo's Typesafe Cult
Created by Jaaneek on 1/16/2024 in #questions
Parsing JSON Into zod schema using OPENAI GPT
Im sorry if I was, it was not my intention
50 replies
TTCTheo's Typesafe Cult
Created by Jaaneek on 1/16/2024 in #questions
Parsing JSON Into zod schema using OPENAI GPT
I literally said to DM me because I wanted to avoid spam, I believe I was not hostile at all
50 replies
TTCTheo's Typesafe Cult
Created by Jaaneek on 1/16/2024 in #questions
Parsing JSON Into zod schema using OPENAI GPT
Can you give me any tips/direction? Samples?
50 replies
TTCTheo's Typesafe Cult
Created by Jaaneek on 1/16/2024 in #questions
Parsing JSON Into zod schema using OPENAI GPT
Here is snippet from portfolio-quiz.com. It takes any resume and parses it pretty well https://pastebin.com/nCpLAC3L I have quite few users and every portfolio looks well
50 replies