title: How to combine two laravel apps in one with Vue.js frontend
body: <p>after some new elements comming into play, I have now two Laravel applications with Vue.js as frontend. Both have separate databases.</p>
  
  <p>One was on a LAN and didn't have authentication. The other one is hosted on a webserver and has authentication.</p>
  
  <p>I now need to host the first one aswell and share data between the two apps and need one authentication that works for both.</p>
  
  <p>My guess was to merge the databases to allow for key constraints.</p>
  
  <p>I don't know to proceed with the laravel apps and frontends though. Do I just dump the models, controllers and routes into one app and then do the same with the frontend and have a button for switching for the app I want to use?</p>
  
  <p>Thanks for reading</p>
  
  <p>Edit: </p>
  
  <p>Authentication method : Default Laravel Authentication method</p>
  
  <p>Vue.js : Both applications are SPAs</p>
  
  <p>Sharing APP_KEY : Not implemented</p>
  
  <p>Routes : I don't know if splitting the two on two different subdomains or merging them has to be done so I can't really answer this</p>