Ayush Goyal
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Ayush Goyal on 8/12/2024 in #questions
applying migrations...Error: getaddrinfo ENOTFOUND postgres
Hi Guys , I am using nextjs app router with drizzle with postgres and its working fine in development mode but when i am running it with docker compose up --build its giving me this error
the whole code can be found in this repo https://github.com/AyushiitrFreedom/bountpirac
2 replies
DTDrizzle Team
•Created by Ayush Goyal on 8/12/2024 in #help
applying migrations...Error: getaddrinfo ENOTFOUND postgres
Hi Guys , I am using nextjs app router with drizzle with postgres and its working fine in development mode but when i am running it with docker compose up --build its giving me this error
the whole code can be found in this repo https://github.com/AyushiitrFreedom/bountpirac
1 replies
TTCTheo's Typesafe Cult
•Created by Ayush Goyal on 9/1/2023 in #questions
React query Refetching on page change
I am using this code ( react query + trpc) , i want whenever i change links , router , the query should rerun and new data should come from the database but it is not happening , i tried various refetching methods but none of them worked , anyone who can suggest something
3 replies
TTCTheo's Typesafe Cult
•Created by Ayush Goyal on 8/19/2023 in #questions
TrPC + Express + Next 13
src/app/api/trpc/[trpc]/route.ts
This is the way you add trpc to Next13 , but how can i achieve this if i am using Express js in my backend
3 replies
TTCTheo's Typesafe Cult
•Created by Ayush Goyal on 8/11/2023 in #questions
Trpc google authentication passport
I am using passport js but i don't know why my code is not working like its not taking me to google signup
2 replies
DTDrizzle Team
•Created by Ayush Goyal on 8/10/2023 in #help
how to make a session using drizzle
this is how we make a session using postgress , i wanted to know how will we do that using drizzle-postgress
1 replies
TTCTheo's Typesafe Cult
•Created by Ayush Goyal on 8/9/2023 in #questions
Typescript with jwt passport
I have this code with me , how do i write in typescript , what do you guys do . I know typescript but i feel that there are many places i will miss typesafety
2 replies
TTCTheo's Typesafe Cult
•Created by Ayush Goyal on 8/8/2023 in #questions
how to access Nested routes
when i visit localhost:5000/show , it works but when i visit localhost:5000/auth/log , it does not work anyone who can help me ?
2 replies
DTDrizzle Team
•Created by Ayush Goyal on 7/17/2023 in #help
Anyone who can give a example of this
1 replies
opts object passed to mutation , i can not understand where it came from
here in goodbye route , where does the opts object come from , in authorized proccesor middleware , i get it otps come from the input but in goodbye i am not able to understand where opts come from , maybe
passes it to the goodbye route
5 replies