Clone the repo:
git clone https://github.com/bagushermawan/kp.git
Install composer packages:
composer global require "laravel/installer"
composer install
After that, run all migrations and seed the database:
php artisan migrate
php artisan db:seed
Or if your database is FRESH and you haven't done any work yet, then it's safe to call the commands in a single line:
php artisan migrate:refresh --seed
- Email: qwe@qwe.com
- Password: qwe
- Email: editor@example.com
- Password: 1234
- Email: user@example.com
- Password: 1234
P.S.: Password modification and user deletion is disabled in demo mode.
This project comes with a user CRUD and makes the use of Spatie Roles and Permissions at a very basic level in order to give restricted access to the three roles provided above. You can move forward with the same logic to achieve more complex goals.
- Laravel
- Stisla Bootstrap 4 Admin Panel Template
- Spatie Laravel Roles and Permissions
- vue-ios-alertview
Contribution is welcomed and highly appreciated. Fork the repo, make your updates and initiate a pull request. I'll approve all pull requests as long as they are constructive and follow the Laravel standard practices.