Meyer
TTCTheo's Typesafe Cult
•Created by Meyer on 9/14/2023 in #questions
Site like Google Drive to fetch photos for client website
Hello,
My client want a photo gallery in his website and i want to do this dynamic. Do you know a service like Google Drive where you can put photos and his appears in the website via a call api ?
9 replies
TTCTheo's Typesafe Cult
•Created by Meyer on 6/29/2023 in #questions
Disable some eslint rules this in extend plugins
1 replies
TTCTheo's Typesafe Cult
•Created by Meyer on 6/27/2023 in #questions
How to use subdomains with nextjs
Hello everyone!
I'm creating a site where there will be very specific needs according to the user's role (student, teacher, administrator).
I'd like to have a landing page and to connect to it go to :
student.mydomain.com for a student
teacher.mydomain.com for a teacher
Should I make a monorepo or is the basic t3 stack enough?
If I have to make a mono repo, where will the api point, given that there will be several projects next?
thanks a lot
6 replies
TTCTheo's Typesafe Cult
•Created by Meyer on 5/29/2023 in #questions
My prisma var is any type
Hello, i use the create t3 turbo repo and the prisma variable is any :
2 replies
TTCTheo's Typesafe Cult
•Created by Meyer on 5/20/2023 in #questions
Styled components react native ?
Hello
Do you know any component lib already styled like Chakra but on native React and if possible that uses nativewind?
9 replies
TTCTheo's Typesafe Cult
•Created by Meyer on 5/18/2023 in #questions
Chat with trpc / nextjs / vercel
Hello,
I would like to make a messaging system with trpc and nextjs. I host everything on Vercel so I need it to work in serverless.
https://trpc.io/docs/subscriptions
Is it possible to use this with upstash for example?
Thanks
15 replies
TTCTheo's Typesafe Cult
•Created by Meyer on 5/14/2023 in #questions
Clerk middleware + trpc
Hello,
I don't understand why i can't use
authMiddleware
from Clerck with TRPC. In the docs he say use withClerkMiddleware
but you can't setup public / private route.7 replies
TTCTheo's Typesafe Cult
•Created by Meyer on 5/13/2023 in #questions
Clerk profile
Hello, sorry if this is a dumb question but I don't know Clerk very well and I would like to understand how it works. Is it useful to have a Profile table if we want more information for the user (for example his shoe size)? And should we use the userId in our database as if we had a user table and then call getUser from the clerk client?
Thanks
11 replies
TTCTheo's Typesafe Cult
•Created by Meyer on 5/12/2023 in #questions
Prisma find many undefined
Hello,
In my other projet when i do
prisma.resource.findMany({select: ...})
the type is {id: string, createdAt: Date}[]
but in a new project ( created just now with T3 ) when i do the same thing i got {id: string | undefined, createdAt: Date | undefined}[]
5 replies
TTCTheo's Typesafe Cult
•Created by Meyer on 4/13/2023 in #questions
Refine zod schema after query
How I could do with TRPC, Zod and React hook form to add an error after making a query :
Let's say I have an email input in my form, and I'd like it to be marked as an error with zod after checking on the server side that it was already there?
2 replies