Prabhath
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Prabhath on 4/12/2023 in #questions
Is T3 good to build an application for one to one video chat using twilio webrtc go?
Requirements:
1. One to one video call with voice and realtime messaging
2. Authentication using oauth.
I am considering using Video WebRTC Go https://www.twilio.com/en-us/video/pricing instead of the WEBRTC or agora, as twilio is free for one to one video calls, I've also heard that implementing WEBRTC from scratch is time-consuming.
However, I came across a tutorial that involves creating an explicit Express server when building with Twilio, as seen in this link: https://www.twilio.com/blog/build-free-one-on-one-video-chat-webrtc-go-javascript.
My concern is whether this approach will work and scale well when deploying to Vercel in Next.js since Vercel's serverless functions have short lifetimes. Would using Twilio's server-less functions be a better option, or should I consider deploying the server part in another environment?
Any recommendations are comments about the current approach or some other scalable good approach are highly appreciated.
1 replies
TTCTheo's Typesafe Cult
•Created by Prabhath on 1/30/2023 in #questions
How to use the accessToken to call a route that is protected by nextauth from server ?
Does any one have examples where you use accessTokens to autenticate API call instead of cookies and sessions.
1 replies
TTCTheo's Typesafe Cult
•Created by Prabhath on 1/27/2023 in #questions
Any good suggestions for storing user images, for supporting max 10k images for the whole website.
I am not expecting around 1000, to be optimistic it might go till 10k. Is it a good idea to store them in firebase cloud store, can anyone who worked on any user uploaded pictures( mostly products of e-commerce store ), share insights or potential problems,
3 replies
TTCTheo's Typesafe Cult
•Created by Prabhath on 1/10/2023 in #questions
Is it possible to host (blog.abc.com on astro) and (abc.com on nextjs vercel) ?
What is the standard practice for folks who build websites that have corresponding blog's.
6 replies
TTCTheo's Typesafe Cult
•Created by Prabhath on 1/8/2023 in #questions
Any suggestions for good resources to learn about refactoring react applications
That can help us understand the industry standard tips and tricks, that will allow us to build large applications in react.
3 replies
TTCTheo's Typesafe Cult
•Created by Prabhath on 1/7/2023 in #questions
How easy or difficult is to move from postgres to planetscale at a later point of time ?
Does anyone have experience in migrating the data from postgres to other solutions which support scale?
21 replies
TTCTheo's Typesafe Cult
•Created by Prabhath on 1/5/2023 in #questions
Can anyone share how to infer type of class member of trpcresponse
I am using inferRouterOutputs<AppRouter>['abc']['def'] to get the type of response, now I need to get the type of a member of output response , please share if anyone has done this before.
9 replies
TTCTheo's Typesafe Cult
•Created by Prabhath on 1/4/2023 in #questions
Can anyone share an example trpc mutation based onSubmit values from a form
7 replies
TTCTheo's Typesafe Cult
•Created by Prabhath on 1/4/2023 in #questions
can anyone share an example on how to set react-query options with trpc like refetchInterval
3 replies
TTCTheo's Typesafe Cult
•Created by Prabhath on 1/1/2023 in #questions
Are there any good opensource projects, that we can follow for a good folder structure ?
Where should the components of client, which are not pages be built ?
2 replies