Hola Devs, are you thinking of adding authentication to your Laravel project and having a tough time going about it. Don't worry about that anymore, let's create that bootstrap auth scaffold in a few minutes in our project. Just follow along and you are good to go.
You need to have the latest version of node installed for this turtorial to be a success
Create a Laravel 9 project.
composer create-project laravel/laravel authScaffold
Navigate to the directory
cd authScaffold
Create a database and set it up in .env file
Install Laravel ui
composer require laravel/ui
Install Bootstrap Auth Scaffolding
php artisan ui bootstrap --auth
Install and build npm
npm install && npm run dev
npm run build
Make a migration
php artisan migrate
Start local server
php artisan serve
Top comments (0)