Yomyam
Yomyam
Explore posts from servers
DTDrizzle Team
Created by Yomyam on 3/3/2024 in #help
Recursive table
how to make recursive such as category inside category?
3 replies
RRailway
Created by Yomyam on 2/26/2024 in #✋|help
Start multiple node.js process in single repo
No description
7 replies
RRailway
Created by Yomyam on 11/16/2023 in #✋|help
Caddyfile root path not render
How to solve this? (/admin/users/ works fine)
:{$PORT} {
log {
format console
}

reverse_proxy {$FRONTEND_HOST}

handle_path /api/* {
reverse_proxy {$BACKEND_HOST}
}

handle_path /admin/* {
reverse_proxy {$ADMIN_HOST}
}
}
:{$PORT} {
log {
format console
}

reverse_proxy {$FRONTEND_HOST}

handle_path /api/* {
reverse_proxy {$BACKEND_HOST}
}

handle_path /admin/* {
reverse_proxy {$ADMIN_HOST}
}
}
33 replies
RRailway
Created by Yomyam on 11/16/2023 in #✋|help
Control webhook event
is it possible to control discord webhook event to discord? like i just want to make me send only status SUCCESS
13 replies
RRailway
Created by Yomyam on 11/15/2023 in #✋|help
Upgrade Plan Pricing Question
If I upgrade plan hobby to pro it's will cost 15$ or 20$?
23 replies
RRailway
Created by Yomyam on 11/14/2023 in #✋|help
Handle Dynamic Subdomain
is it possible to make railway handle dynamic sub domains like [shop_name].coolstore.com
51 replies
DTDrizzle Team
Created by Yomyam on 7/25/2023 in #help
How to do this in drizzle schema?
I moved from PrismaORM convert this model schema to drizzleSchema (nested self) How to do that?
model Category {
id Int @id @default(autoincrement())
name String
parentId Int?
parent Category? @relation("ParentChild", fields: [parentId], references: [id])
children Category[] @relation("ParentChild")
Product Product[]
}
model Category {
id Int @id @default(autoincrement())
name String
parentId Int?
parent Category? @relation("ParentChild", fields: [parentId], references: [id])
children Category[] @relation("ParentChild")
Product Product[]
}
1 replies
TtRPC
Created by Yomyam on 4/21/2023 in #❓-help
using same query for entries app
How to use same query for many components? I don't want to request api for many times ;-; I can't passing by props because I have Header component that wrapper in Layout component and I want to use query in Header component too If i'm do this It's will need to run query 2 times
7 replies
TtRPC
Created by Yomyam on 4/12/2023 in #❓-help
Pagination Query
Hi, I'm new for web dev and I'm moved to tRPC not so long I'm looking for example of pagination query like blitzjs (input: page, limit and sort) https://blitzjs.com/docs/use-paginated-query#arguments does anyone have it?
1 replies