type in console or terminal :
composer install
or
composer update
or
composer install && composer update
settup env by rename from .env.example to .env
type in console or terminal for migration : php artisan migrate
php artisan migrate
type in console or terminal :
php artisan serve
and
npm run dev
NOTE : both of them must be run.