Web + Mobile + tRPC API

In theory, we should be able to make a NextJS + tRPC project and also use the endpoints from other places like a full mobile App made in React Native. I could make the Firebase auth connections with Next Auth and adapters work. Also use the admin sdk on the tRPC backend. But how I am supposed to handle auth from a RN app to use protected endpoints? Is there any boilerplate, tutorial or example to do this ? SEO is working so the endpoints can be called from outside the web project. I don't aiming to use turbo repo for making the web/app/trpc integracion, just web/trpc and mobile separately
1 Reply
Benja
BenjaOP13mo ago
Finally I ended using this Supabase template with turborepo. Though that was only for mobile but it handles multiple client and fits with what I was looking for: https://github.com/supabase-community/create-t3-turbo
GitHub
GitHub - supabase-community/create-t3-turbo: Clean and simple start...
Clean and simple starter repo using the T3 Stack along with Expo React Native and Supabase - GitHub - supabase-community/create-t3-turbo: Clean and simple starter repo using the T3 Stack along with...
Want results from more Discord servers?
Add your server