Laravel
| ReactJs
| Passport Authentication
| Rest-api
In the project directory, you need to setup:
Set bellow variable values in .env file.
you can change values according to your project enviroment.
APP_URL=http://127.0.0.1:8000/
REACT_APP_API_URL=http://127.0.0.1:8000/api/
npm i
run bellow command in terminal and keep it always open
php artisan serve
run bellow command in another terminal and keep it always open
npm run watch