npm install
npm run dev
npm run dev
composer install
cp .env.example .env
php artisan key:generatecomposer create-project --prefer-dist laravel/laravel shop "8.*"
php artisan serve
# this is for adding helpers.php
composer dump-autoloadcomposer require laravel/ui:*
php artisan ui bootstrap --auth
php artisan migrate
npm install
npm run dev
npm run devphp artisan make:component ComponentNamephp artisan make:model ControllerName -mcr
# without the 'Controller' name convention. just the name of the controller.Where:
-
-m, --migration Create a new migration file for the model.
-
-c, --controller Create a new controller for the model.
-
-r, --resource Indicates if the generated controller should be a resource controller
php artisan migrate:freshphp artisan make:seeder ProductSeeder
php artisan make:seeder UserSeeder
php artisan db:seed