Multiple projects for a single app
Hey guys, I'm developing app for multiplayer game with convex and react, my app will be have more than 10 games, and each game will be have different gameplay , interaction, database, maybe some game have chat features.
My question :
1. Am I need to create separate database for user management, social / friends feature, and for each games interactions?
2. Can we use 2 projects / database on single apps?
3. If no.2 the answer is yes, how we can handle types between different database?
2 Replies
If it's one app I would definitely make it one backend. I'm assuming your users won't need to maintain separate logins for each of the ten games in this app, correct?
As far as data separation goes, just use different tables. You can have up to 10k tables in a single deployment, so you probably won't run out.
What if we want to have a parent convex project (which i own) which runs some code and functions that a customer owns (separate project) is there any example on how to set up a single app connected to multiple projects?