Heroku: SPA + API within the same application

0

Is it possible to allocate two separate projects, one front (SPA) and one back (API) within the same application in Heroku?

There are 2 separate projects within the same repository, the SPA was developed with VueJS and the API in Laravel.

/  Reply Icon  | - api

I wanted it when I accessed the main url of the application it fell into the "spa" folder, but when it added at the end of the url "/ api" or "/ admin" it redirected to the "api" folder. >     

asked by anonymous 15.03.2018 / 17:39

0 answers