LaravelLearning.php

Preority
https://www.ssyoutube.com/watch?v=5411bR2jtM4&list=PL8p2I9GklV44w0QHfw1xyfO3NnuccntTC&index=1
Laravel- API
https://www.youtube.com/watch?v=LJ2uhyrKbYI&list=PLQcBFrxTul9KrjWSiewVUD1Gnxo8GO8Xq

Javascript-
https://www.youtube.com/watch?v=Lgxgm-T9cgA&list=PL0b6OzIxLPbx-BZTaWu_AF7hsKo_Fvsnf

Token based authentication  in api
https://www.youtube.com/watch?v=2p5wweZXHTY

#Use this command to downgrade composer to 1.0
composer self-update --1

#api
https://github.com/anajetli/android_login_registration_via_api/tree/master/migrations

https://www.youtube.com/watch?v=yRTM2HXFVy4


#passport authentication      
https://blog.logrocket.com/laravel-passport-a-tutorial-and-example-build/
 #api authentication guard
    'api' => [
        'driver' => 'passport', //update this line
        'provider' => 'users',
    ],


#crate new laravel project
laravel new application-name

#create project via composer
composer create-project --prefer-dist laravel/laravel application-name


# run laravel project
php artisan serve


#install passport for authenticatoin
composer require laravel/passport



# install passport
php artisan passport:install

# create model with migration
php artisan make:model Employee -m


Qustion- what is resource
Q  route model binding.

#install postman in ubuntu using command
sudo snap install postman

#Laravel api tutorial
https://code.tutsplus.com/courses/build-a-rest-api-with-laravel/lessons/creating-the-project

https://www.classcentral.com/course/youtube-how-to-make-an-api-with-laravel-71052
https://www.classcentral.com/course/youtube-laravel-8-tutorial-55890