Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.07 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.07 KB

Welcome to compEmp

compEmp is a simple laravel project to manage companies and their employees.

Installation

  • 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 is public.
  • 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.

Testing

You can run the tests with: ./vendor/bin/phpunit / php artisan test

Tests for Company/Employee CRUD

Credits

License

The Laravel framework is open-sourced software licensed under the MIT license.