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:
- Clone the repo `git clone https://github.com/Tope19/news_board_api.git`
- Cd into the project root folder.
- To install the dependencies run `composer install`.
- Run the server `php artisan serve`
- Migrate the database `php artisan migrate`.
- To run the Unit Test for single class `vendor/bin/phpunit tests/Unit/${className}Test.php`.
- To run the Unit Test for all classes `vendor/bin/phpunit tests/Unit`.
Postman Documentation Link: https://documenter.getpostman.com/view/10180177/UzJFuxvL
Cheers