so I've got a big phoenix project that only does json. Brunch et al not even installed. Now we're creating public-facing pages that needs to be SEO friendly, so we're going to use the standard browser pipeline and render html templates etc. This public facing app will likely be deployed to its own instances and scaled independently. I want to share my core schema/model code and some utils. How should I set this up? Umbrella? separate projects? (will still be in same repo though)
I've received advice to start with an umbrella app, but I have two questions with that:
1) If I have them configured for different ports, will running mix phx.server from the root run them both ok?
2) should I move the shared code out to its own app (so I have 3, shared app, json app, html app) and will I get the auto reloading (without having to kill/restart the server) when I change code in the shared app?