asmodig
asmodig
TTCTheo's Typesafe Cult
Created by Bart ⚡ on 4/7/2023 in #questions
T3 Stack + custom Next.js server not working
So only solution is to host the wss server as an separate application? How do I remove the environment variable validation?
22 replies
TTCTheo's Typesafe Cult
Created by Bart ⚡ on 4/7/2023 in #questions
T3 Stack + custom Next.js server not working
I'm also looking for a solution to this problem.
22 replies
TTCTheo's Typesafe Cult
Created by asmodig on 4/15/2023 in #questions
Hosting t3 with websockets
The reason for not wanting to use pusher is vendor lock in and the ability for the apps that I'm developing to be self hosted, or hosted anywhere. I've got everything up and running with tRPC and subscriptions on my local dev environment. Soketi looks like a fitting solution but it is not needed at the moment. It could be an option if the tRPC subscriptions are flaky or something like that. But the hosting issue still applies. DO apps looks like they support websockets. Would have been nice both servers could be run on the same app, else I need to look into some infra for pub/sub between them, using EventEmiter at the moment. Right now my options are. 2xDO apps with some pub/sub fixes or a Droplet with bunch of more infra to set up.
12 replies
TTCTheo's Typesafe Cult
Created by asmodig on 4/15/2023 in #questions
Hosting t3 with websockets
My main goal is not to be dependent on a product, like pusher. I have everything working locally. Would be nice not to run it on run it on a custom VM.
12 replies