Laravel API and React front-end put together into this beautiful symbiosis!
$ npm install
$ npm run prod
- installing all Node.js dependencies
$ composer install or composer install --prefer-source
- installing all dependencies
php artisan key:generate
php artisan optimize
php artisan serve # or use your own server 127.0.0.1:8000
$ npm run prod
- build project in output folder /public
$ npm run watch # or npm run hot # or npm run dev