I’ve got my Realm ‘backend’ repo set up with GitHub deployment so pushing to master deploys to Realm. Awesome! Further, I’m thinking of using Realm static hosting to host the app (in the past I’ve used Netlify, which I love, but why not consolidate?)
My question is this. Normally I’d use a separate repo for my client app. Realm static hosting lives inside the ‘backend’ repo (
/hosting/files/). It feels unwieldy to me to have the entire React project inside that already-nested directory.
So I could use a separate client repo and make a deployment script that builds and copies the react app into the hosting dir., but that ALSO feels unwieldy to me.
Am I just being overly picky? What would you do? Are there pros and cons to either approach? Or something else?