apc98
apc98
TTCTheo's Typesafe Cult
Created by apc98 on 5/3/2023 in #questions
T3 Firebase solution? (SMS OTP Auth)
I know I know, we love Auth.js and Clerk. But there's a problem when it comes to SMS authentication. OTP authentication via SMS is expensive (especially outside the USA, in some countries being 26cents/message). The best solution that I found is Firebase, that gives you 10,000 successful sign ups/month for free. So if you are a broke developer and want to implement SMS auth for your app, Firebase is your only choice. It would be nice to have a guide to implement Firebase into a T3 and T3 Turbo project. The firebase auth library is not as straight forward as Clerk or Next.js and I'm having some problems implementing the required middleware for the tRPC server. If anyone has done something similar in the past I would appreciate any tips-solutions. Thanks
1 replies
TTCTheo's Typesafe Cult
Created by apc98 on 12/28/2022 in #questions
tRPC + React Native (Expo)?
I've been doing some research on tRPC in the last couple of days and I really like the technology. The question I have is, what if you have a Next.js project and a React Native (Expo) app sharing the same backend? (considering that the backend would live inside the Next.js project). Should I use tRPC, or in this specific case it would be better to use something like Rest so it's easier to spread the backend to different clients?
4 replies