User management system
This system includes
- Roles
- Roles middleware
- Get highest role (original name, short title, long title)
- User list (name, email, roles)
- Ability to edit users
- Ability to delete users
First, clone this project to your own project directory (please change the projectfolder name)
git clone https://github.com/DylanDec/user_management.git projectfolder
Go into your projectfoler
cd projectfolder
Run the composer install command
composer install
Run the npm install && npm run dev command
npm install
npm run dev
Edit the env file
- Copy the env.example and rename it to .env
- Edit your DB credits
- Make sure to fill in your appname
Generate a laravel key
php artisan key generate
Run the migrations
php artisan migration:fresh
Seed the database with the premade accounts
php artisan db:seed
Serve your project
php artisan serve
You can open your project on http://localhost:8000 and login with email [email protected] and password password