Part 2 : Ecommerce Using LiveWire in Laravel 8 - Authentication using JetStream | Shahul Hameed
This part shows how to create authentication of web application using composer Jetstream.
Step 1 :
Install composer - JetStream
CMD: composer require laravel/Jetstream
Step 2: Install livewire for jetstream composer
CMD: php artisan jetstream:install livewire
Note: Install this cmd itself once the above process completed
Setup auth DB for admin and user identification in the User table define as utype will be ADM for admin and USR for customer and users.
CMD: php artisan migrate
CMD:php artisan serve
Step 6: Check the Authentication part to route correspondent user or admin login credential.
CMD: php artisan make:middleware AuthAdmin
Step 8: Setup authentication session part
Note: Form logout route created below there.
Comments
Post a Comment