Running with Existing Apps

does anyone have docs on using convex when we already have an existing postgres db on planetscale? we have serveral apps so we wouldn't be able to migrate everything to convex, so we would need to keep our old postres db running while we want our new apps to be using convex. is this possible and what would be the best way to go about it?
4 Replies
Convex Bot
Convex Bot3mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
Clever Tagline
Clever Tagline3mo ago
Not sure that I understand the problem behind your question. Could you elaborate a bit?
chuckstock | remix
chuckstock | remixOP3mo ago
we have an existing postgres database on planetscale with multiple web apps using trpc and prisma for our data fetching and api calls. we're building a mobile app and i would love to use convex, but is it possible to use convext ontop of an existing database that is being used with other apps? it seems like it's an all or nothing solution
Clever Tagline
Clever Tagline3mo ago
I don't see why not. Convex would become just another data source. Keep what's already in Postgres over there, and add whatever new stuff you want to Convex, and use both to provide data for your apps. I don't see this being a problem as long as nothing is duplicated across databases. Maybe a little confusing when it comes to knowing what lives where, but that's about it.

Did you find this page helpful?