/work_planner

Company Workers Shift Timestable

Primary LanguagePHP

Work Planner

Built a REST application from scratch that could serve as a work planning service.

Business requirements:

  • A worker has shifts
  • A shift is 8 hours long
  • A worker never has two shifts on the same day
  • It is a 24 hour timetable 0-8, 8-16, 16-24

Procedure:

  1. Clone the repo `git clone https://github.com/Tope19/news_board_api.git`
  2. Cd into the project root folder.
  3. To install the dependencies run `composer install`.
  4. Run the server `php artisan serve`
  5. Migrate the database `php artisan migrate`.
  6. To run the Unit Test for single class `vendor/bin/phpunit tests/Unit/${className}Test.php`.
  7. To run the Unit Test for all classes `vendor/bin/phpunit tests/Unit`.

Postman Documentation Link: https://documenter.getpostman.com/view/10180177/UzJFuxvL


Cheers

Tope Olotu