Meyer
Meyer
TTCTheo's Typesafe Cult
Created by Meyer on 9/14/2023 in #questions
Site like Google Drive to fetch photos for client website
I don’t want to use something’s like S3 because my client won’t pay for a custom dashboard to upload pictures and he is not a dev so I don’t see him add pictures in AWS dashboard 😂😂
9 replies
TTCTheo's Typesafe Cult
Created by Meyer on 9/14/2023 in #questions
Site like Google Drive to fetch photos for client website
?
9 replies
TTCTheo's Typesafe Cult
Created by Meyer on 6/27/2023 in #questions
How to use subdomains with nextjs
Hello, thanks for the response i alreay see this medium is like Vercel platforms. But the teacher website is really different of the student website
6 replies
TTCTheo's Typesafe Cult
Created by Meyer on 6/27/2023 in #questions
How to use subdomains with nextjs
Up please ?
6 replies
TTCTheo's Typesafe Cult
Created by Gero on 6/6/2023 in #questions
t3 stack with react-native
I advice you to use the original t3-turbo and add clerk manually because the repo is not up to dat
9 replies
TTCTheo's Typesafe Cult
Created by Meyer on 5/20/2023 in #questions
Styled components react native ?
Thanks
9 replies
TTCTheo's Typesafe Cult
Created by Meyer on 5/20/2023 in #questions
Styled components react native ?
Thank you i will look
9 replies
TTCTheo's Typesafe Cult
Created by Meyer on 5/18/2023 in #questions
Chat with trpc / nextjs / vercel
and in the client use pusher js to subscribe
15 replies
TTCTheo's Typesafe Cult
Created by Meyer on 5/18/2023 in #questions
Chat with trpc / nextjs / vercel
thanks
15 replies
TTCTheo's Typesafe Cult
Created by Meyer on 5/18/2023 in #questions
Chat with trpc / nextjs / vercel
Ah, but Pusher and TRPC don't work, do they?
15 replies
TTCTheo's Typesafe Cult
Created by Meyer on 5/18/2023 in #questions
Chat with trpc / nextjs / vercel
This is what I understood with all my research ( even using services like Pusher, Ably etc it is still not adapted with TRPC ) 😦
15 replies
TTCTheo's Typesafe Cult
Created by Meyer on 5/14/2023 in #questions
Clerk middleware + trpc
//middleware.ts
import { authMiddleware } from "@clerk/nextjs";

export default authMiddleware({ publicRoutes: ["/"] });

export const config = {
matcher: ["/((?!.*\\..*|_next).*)", "/", "/(api|trpc)(.*)"],
};
//middleware.ts
import { authMiddleware } from "@clerk/nextjs";

export default authMiddleware({ publicRoutes: ["/"] });

export const config = {
matcher: ["/((?!.*\\..*|_next).*)", "/", "/(api|trpc)(.*)"],
};
7 replies
TTCTheo's Typesafe Cult
Created by Meyer on 5/14/2023 in #questions
Clerk middleware + trpc
Clerk: A request for a static file or a NextJS internal route was intercepted by authMiddleware. Usually, these requests require no authentication logic so the authMiddleware ignores them by default.
However, for improved performance, these requests should be ignored using the default config.matcher API exported from your middleware file.
The request URL was: http://localhost:3000/api/trpc/activites.getAll,spots.getAll,profiles.search?batch=1&input=%7B%220%22%3A%7B%22json%22%3Anull%2C%22meta%22%3A%7B%22values%22%3A%5B%22undefined%22%5D%7D%7D%2C%221%22%3A%7B%22json%22%3Anull%2C%22meta%22%3A%7B%22values%22%3A%5B%22undefined%22%5D%7D%7D%2C%222%22%3A%7B%22json%22%3A%7B%22gender%22%3A%22indifferent%22%2C%22activities%22%3A%5B%5D%2C%22spots%22%3A%5B%5D%7D%7D%7D.

To resolve this warning, open your middleware file, set your config.matcher as shown below and restart your dev server:

export const config = {
matcher: ["/((?!.*\\..*|_next).*)","/"],
};

If you intentionally want to run the authMiddleware for this route, you can exclude it from the default ignoredRoutes.
Clerk: A request for a static file or a NextJS internal route was intercepted by authMiddleware. Usually, these requests require no authentication logic so the authMiddleware ignores them by default.
However, for improved performance, these requests should be ignored using the default config.matcher API exported from your middleware file.
The request URL was: http://localhost:3000/api/trpc/activites.getAll,spots.getAll,profiles.search?batch=1&input=%7B%220%22%3A%7B%22json%22%3Anull%2C%22meta%22%3A%7B%22values%22%3A%5B%22undefined%22%5D%7D%7D%2C%221%22%3A%7B%22json%22%3Anull%2C%22meta%22%3A%7B%22values%22%3A%5B%22undefined%22%5D%7D%7D%2C%222%22%3A%7B%22json%22%3A%7B%22gender%22%3A%22indifferent%22%2C%22activities%22%3A%5B%5D%2C%22spots%22%3A%5B%5D%7D%7D%7D.

To resolve this warning, open your middleware file, set your config.matcher as shown below and restart your dev server:

export const config = {
matcher: ["/((?!.*\\..*|_next).*)","/"],
};

If you intentionally want to run the authMiddleware for this route, you can exclude it from the default ignoredRoutes.
7 replies
TTCTheo's Typesafe Cult
Created by Meyer on 5/13/2023 in #questions
Clerk profile
Hello, yes i use metadata but i dont found built in soluce for adding required metadata. I will try to add a webhook when sign up add all metadata required.
11 replies
TTCTheo's Typesafe Cult
Created by Meyer on 5/13/2023 in #questions
Clerk profile
thanks, I will look at
11 replies
TTCTheo's Typesafe Cult
Created by Meyer on 5/13/2023 in #questions
Clerk profile
At the same time, how do you have to enter this information ( not optional ) when creating an account?
11 replies
TTCTheo's Typesafe Cult
Created by Meyer on 5/12/2023 in #questions
Prisma find many undefined
Hello, is just because I used select variables like : const select: Prisma.ResourceSelect but I need to use Prisma validator to fix this type problem
5 replies