- I highly recommend you to use this repository as a template only.
- Consider the folder
backendandfrontendas its own separate repositories. It is merged into one for ease. frontendcontains the Frontend AngularJS code, a basic site.backendcontains the Backend CakePHP code.presentation.pdfare slides I presented at CakeFest 2016.
You are welcome to get createive in your setup. This is how i have my repositories setup:
blob.devpoints tofrontendapi.blob.devpoints tobackend
If you prefer to use a different frontend domain, be sure to add that to the $origin in backend/src/Routing/Filter/CorsFilter.php.
The main logic / core lies in Dispatch Filters. Read more about it here: http://book.cakephp.org/3.0/en/development/dispatch-filters.html
Run the following command inside frontend folder:
$ bower install
Set it up like you would setup any CakePHP 3 app. That is run the composer command inside backend folder:
$ composer install
Run migrations:
$ bin/cake migrations migrate