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
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