The project is a collection of role and permissions based access to the management of employees by a super admin and other admins.
Clone the repository to your local machine via https by running the terminal command below.
git clone https://github.com/Ojsholly/employee-management.git
Create your MySQL database and note down the required connection parameters. (DB Host, Username, Password, Name)
Navigate to the project root directory via terminal and run the following command.
composer install
Run the following command
cp .env.example .env
This should create an exact copy of the .env.example file. Name the newly created file .env and update it with your local environment variables (database connection info, stateful domains and others).
php artisan key:generate
php artisan migrate --seed
php artisan serve
***Kindly note that the super admin has a login credentials of 'superadmin@admin.com' and 'password'
php artisan test