Coffee11
Coffee11•7mo ago

Mobile and web app project

What is the best strategy if I want to use 1 convex project for my react-native and nextjs project?
13 Replies
FleetAdmiralJakob 🗕 🗗 🗙
I think just setup a monorepo
FleetAdmiralJakob 🗕 🗗 🗙
GitHub
GitHub - get-convex/turbo-expo-nextjs-clerk-convex-monorepo: Monore...
Monorepo template with Turborepo, Next.js, Expo, Clerk, Convex - get-convex/turbo-expo-nextjs-clerk-convex-monorepo
Coffee11
Coffee11OP•7mo ago
Well I don't know where to start because I'm using expo with my react-native But maybe I'll just create http endpoint for my web app to consume But thanks anyway
FleetAdmiralJakob 🗕 🗗 🗙
This example is not using convex but it is using expo instead. So you have to remove the database and auth specific stuff here but don't have to add expo: https://github.com/t3-oss/create-t3-turbo/tree/main
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 - t3-oss/create-t3-turbo
Coffee11
Coffee11OP•7mo ago
Thank you for the information very helpful
erquhart
erquhart•7mo ago
I've seen a lot of folks using Solito, which packages up React Native (Expo) + Next: https://solito.dev/
FleetAdmiralJakob 🗕 🗗 🗙
I dont have Expo or RN implemented but that is one project of mine using Turborepo together with Convex and Next.js: https://github.com/The-Creative-Programming-Group/Weather-App
GitHub
GitHub - The-Creative-Programming-Group/Weather-App: The best weath...
The best weather app that's 100% OSS, collects no data and not showing any ads - The-Creative-Programming-Group/Weather-App
Michal Srb
Michal Srb•7mo ago
Hey @Coffee11 you are not using Expo for React Native? If not, why not? (I'm curious)
erquhart
erquhart•7mo ago
They said they are using it
Michal Srb
Michal Srb•7mo ago
Yeah, in which case, @Coffee11 why not use the template which also uses Expo? https://github.com/get-convex/turbo-expo-nextjs-clerk-convex-monorepo/tree/main
GitHub
GitHub - get-convex/turbo-expo-nextjs-clerk-convex-monorepo: Monore...
Monorepo template with Turborepo, Next.js, Expo, Clerk, Convex - get-convex/turbo-expo-nextjs-clerk-convex-monorepo
Coffee11
Coffee11OP•7mo ago
I will try this one I have a tight deadline need to deploy the mobile app with a convex backend by june 10 haha after I finish thank you for the recommendation guys appreciate
erquhart
erquhart•7mo ago
If you run into any Convex issues, don't hesitate to bring 'em here
Coffee11
Coffee11OP•7mo ago
Convex just works which makes us consider re-imagine our infrastructure will soon subscribe for a plan

Did you find this page helpful?