CRUD Asset with basic auth
First, lets create an admin via command.
Run
php artisan make:admin
and follow it until done.
Now you can create other admin and do asset management too.
Make sure you have do this and open Auth folder. There are login, register, forgot, logout, and user details inside that folder.
First, do login.
Second, go to Register and enable params role and fill them with admin/user.
Third, fill the body and send it.
Now, lets create regular user.
Make sure you have do this and open Auth folder. There are login, register, forgot, logout, and user details inside that folder.
First, go to Register.
Second, fill the body and send it.
Finally, you automatically logged in and do asset management
Make sure you have do this and open Asset folder. There are CRUD with Index inside that folder.