bri
bri•11mo ago

Sharing a convex backend between multiple apps without a monorepo

Is there a way so we wouldn't have to use a mono-repo? 😦
7 Replies
ballingt
ballingt•11mo ago
What's the setup you'd like to use here @bri? If your API is in a different repo types of the arguments to your functions and the return values can get out of sync. There are a variety of ways to address this but it's generally more complicated than using the same repository for everything
bri
briOP•11mo ago
That's one good reason. Wanted to avoid having to recreate our repos. Nextjs and Expo projects are already deployed. Had we known, would've started with a monorepo. Welp, it what it is. Have to do it anyways
ballingt
ballingt•11mo ago
Alternative ways to do this may be supported in the future, but generally they're more of a hassle than using the same repo. e.g. say you could download the current API types from the dashboard that's nice for getting started, but as they change they can get out of date
bri
briOP•11mo ago
Wouldn't mind doing that for now
ballingt
ballingt•11mo ago
this isn't supported yet, but things like it could be supported before too long
bri
briOP•11mo ago
Ah, okay Thanks for your inputs, Tom (:

Did you find this page helpful?