Starko00
Starko00
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Starko00 on 8/8/2024 in #questions
Building an npm package that has server actions
but the issue seems to be connected with 'use server' and 'use client' banners, i wrote a custom function inside of the tsup esbuild thing that handless most of the things but i can't find a smart way to do this as it feels extreamly hacky and will be unmanagable if the package gets a bit bigger (more actions more components ect)
3 replies
TTCTheo's Typesafe Cult
Created by Starko00 on 8/8/2024 in #questions
Building an npm package that has server actions
Well just to make sure people get it, i made the package it works
3 replies
DTDrizzle Team
Created by Starko00 on 2/15/2024 in #help
can anyone help me i have a problem with these migrations its always changing the tables that i didn
@solo
9 replies
DTDrizzle Team
Created by Starko00 on 2/15/2024 in #help
can anyone help me i have a problem with these migrations its always changing the tables that i didn
i managed to fix a few of them and by inspectin the psql thats generated i can see that its always dropping all foreign keys and using then making them again -> this is not that of a problem as i guess it needs to do it if its gonna drop a table that has ground braking changes, but for other things like time stamps and numerics its ludarics, its actualy writing the same code over and over again
9 replies
DTDrizzle Team
Created by Starko00 on 2/15/2024 in #help
can anyone help me i have a problem with these migrations its always changing the tables that i didn
this is a combo comand i use to do it every time
9 replies
DTDrizzle Team
Created by Starko00 on 2/15/2024 in #help
can anyone help me i have a problem with these migrations its always changing the tables that i didn
bunx drizzle-kit generate:pg && bunx drizzle-kit push:pg
9 replies
DTDrizzle Team
Created by Starko00 on 2/15/2024 in #help
can anyone help me i have a problem with these migrations its always changing the tables that i didn
yup
9 replies
TTCTheo's Typesafe Cult
Created by Starko00 on 2/15/2024 in #questions
Best place to deploy Bun monorepo server?
at the moment i configured a digital ocean droplet plus git actions for deployment but was wondering if there is a more optimal way to do it
5 replies
TTCTheo's Typesafe Cult
Created by imEddie👻 on 12/17/2023 in #questions
NextJS Express Server Cookies
Well it only forwards the token meaning your next js backend is actualy making requests and not your client for example you want to get on client your client will ask your api route and the api route wil auth to your server
7 replies
TTCTheo's Typesafe Cult
Created by imEddie👻 on 12/17/2023 in #questions
NextJS Express Server Cookies
meaning only your server keeps the jwt token (but u can pass it to your client as well )
7 replies
TTCTheo's Typesafe Cult
Created by imEddie👻 on 12/17/2023 in #questions
NextJS Express Server Cookies
I did this in 2 ways the first one (everything client side), the second way in API folder u can build a small apstraction on top of it so that all the requests that go to your server pass thro your api layer
7 replies
TTCTheo's Typesafe Cult
Created by Starko00 on 10/20/2023 in #questions
pg library and connection to vercel PSQL
So... (feeling a bit stupid ) if someone ecounters this error just add a query param to the connectionString => ?sslmode=require and it will start working.....
4 replies