React Native + Next.js API server deployed on vercel ?

Is it possible to use Next.js and just use it's API routes to create a backend server which can be deployed on Vercel which can then be used with react native. When I say used with it will be using tRPC. I cant find any info on if this is even possible, there aren't any articles or tutorials explaining how to.
6 Replies
deforestor
deforestor2y ago
That actually reads like the description of turbo: https://github.com/t3-oss/create-t3-turbo
GitHub
GitHub - t3-oss/create-t3-turbo: Clean and simple starter repo usin...
Clean and simple starter repo using the T3 Stack along with Expo React Native - GitHub - t3-oss/create-t3-turbo: Clean and simple starter repo using the T3 Stack along with Expo React Native
deforestor
deforestor2y ago
did you try it?
hhhyh
hhhyhOP2y ago
that looks interesting, ill try it now. Just a quick question about the folder structure - in the next.js folder do I still need that folder if im not creating a web version of whatever im making in react native? or is that where the backend api code is? @deforestor
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
hhhyh
hhhyhOP2y ago
thanks for helping everyone!
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server