Laravel 8 and React 17 boilerplate
There are two different ways to run this demo
Please follow the guide.
git clonecreate a .env file copy content from .env.example and update the valuescomposer install && composer updatephp artisan cron:refresh-databasenpm install && npm run dev else npm install --legacy-peer-deps && npm run devphp artisan key:genphp artisan serveMake sure you have docker and docker-compose installed on you machine.
git clonecreate a .env file copy content from .env.docker and do not make any changerun following command in terminal / power shell
docker-compose up -dwhen docker will finish building the containers, access the "laravel-react-app" container using following command
docker exec -it lr_app sh
now you will be inside container
run following commands
composer install && composer updatephp artisan cron:refresh-databasephp artisan key:gennpm install && npm run dev else npm install --legacy-peer-deps && npm run devopen browser and check the following address
http://localhost:8100
TODO:
No open issues yet, or sync has not completed.