Questions tagged [t3-app]

4 questions
0
votes
0 answers

How to create a dynamic subdomains in t3 stack

Anyone know a way to create dynamic subdomains in t3-stack? I want to be able to build a subdomain system like Hashnode had in the past. For Example: test.hashnode.com example.hashnode.com abc.hashnode.com I am using trpc, t3stack and nextjs for…
Ujen Basi
  • 11
  • 1
  • 2
0
votes
1 answer

Cypress component testing not working with create-t3-app

I have a project that was created with create-t3-app@latest. When I attempt to setup component testing with Cypress it throws an error saying invalid environment variables, it's attempting to use the src/env.mjs file. I've tried to use…
codings-R-us
  • 11
  • 1
  • 2
0
votes
2 answers

React Hook Form: useForm not returning any errors in formState

I am creating a app using T3 stack + react-hook-form + zodResolver:@hookform/resolvers/zod I have a zod schema defined as below export const AccountSchema = z.object({ id: z.string().uuid().optional(), title: z.string().min(1, { message: 'Title…
Parshuram
  • 67
  • 1
  • 8
0
votes
1 answer

t3 stack with trpc-openapi mongodb - getting error Cannot read properties of undefined (reading 'prisma')

Beginner here trying out t3 stack app with trpc-openapi. Prisma provider is using mongodb. I can connect to MongoDB but when I make the call http://localhost:3000/api/all from http://localhost:3000/api-docs I get error { "message": "Cannot read…
Vineet Bhatia
  • 2,469
  • 4
  • 30
  • 28