building app for web and mobile
Hi, I plan to build a web app and a mobile app, but I don't want to use a monorepo because I've heard it can be hard to manage. What other solutions can I use to build an API with Convex to serve both web and mobile apps?
3 Replies
Hi Slade. I'm in a similar situation. Working on migrating a few projects from MongoDB/Realm over to Convex. I got the example up and running on Remix and ReactNative fairly quickly using the quick start guides.
It seems like I need to create the exact same functions and schema in the
convex
folder in each repo. In this sense, I kind of want the convex schema and functions to be a monorepo and everything else to be just ReactNative or just Remix.
Hoping someone has an answer on how to set this up in a way that doesn't require duplicating everything in convex across two reposThere was an announcement recently about something relevant to what you’re trying to do. Maybe this helps,
https://docs.convex.dev/production/multiple-repos
Multiple Repositories | Convex Developer Hub
Use Convex in multiple repositories
Cool. I'll watch that since it's in beta. For now I'm just createing a submodule and doing all the schema / function work there.