compEmp is a simple laravel project to manage companies and their employees.
- Clone the compEmp repo https://github.com/haid45/compEmp
- Run
composer install
. - Make a copy of the
.env.example
file that is in the root directory and rename it to.env
. - Fill in
DB_DATABASE
,DB_USERNAME
&DB_PASSWORD
according to your local DB. - Ensure that the
FILESYSTEM_DRIVER
ispublic
. - Enter the mailer details for the emails to work correctly.
Mailtrap
is suggested. - Once the steps above are complete, proceed to run
php artisan migrate:refresh --seed
. - Followed by
php artisan storage:link
. - Use the following login details
admin@admin.com
&password
.
You can run the tests with:
./vendor/bin/phpunit
/ php artisan test
Tests for Company/Employee CRUD
The Laravel framework is open-sourced software licensed under the MIT license.