Let's say I want to build an API with Laravel, (that doesn't serve any HTML content) and it's domain is http://api.whatever.com
on the other side, I want 2 different front-end AngularJS Apps to use that API (one for the normal users and one of the admins)
where the users app is hosted on http://whatever.com and the admins app is hosted on http://admin.whatever.com and http://whatever.com/admin
My 2 questions are:
1) What are the advantages and disadvantages of building and serving those 2 different front-end apps inside Laravel (with NGINX) and outside Laravel (as stand alone apps maybe hosted with NodeJS)?
2) And since I have a big feeling that those apps should be built and served outside Laravel, for many reasons. How can I serve multiple front-end (AngularJS) Apps and 1 back-end (Laravel) App on single server??? should I configure NGINX with NodeJS?! What is the trick here?