Level 26
I would have a folder for the Laravel main site and another for the Lumen
project.app ->
/var/www/project/public
api.project.app ->
/var/www/api.project/public
Hi,
So i have a Laravel Application and i want to use lumen for the Applications API.
So, in my projects folder i created a new lumen project called "api", so my directory structure looks like this:
Project
-api
----app
----bootstrap
----database
----public
----(rest of Lumen folders and files)
-app
-bootstrap
-config
-database
-public
-(rest of laravel folders and file)
Is this the right approach? If yes, how to i access the Lumen API? If i add api.project.app to my hosts and map this domain into my homestead config, i'm getting just getting my Laravel site when accessing api.project.app
Please or to participate in this conversation.