Test project for mid-level software engineer job
You are required to create a RESTful API using Laravel to manage holiday plans for the year 2024. The API should allow users to perform CRUD operations (Create, Read, Update, Delete) on holiday plans.
composer require barryvdh/laravel-dompdf
composer require darkaonline/l5-swagger
composer require zircote/swagger-php
composer require laravel/sanctum
Install buzzvel-test with github
git clone git@github.com:MarcosVVMK/buzzvel-test.git
cd buzzvel-test
Install the project composer dependecies
composer install
Create database from migration
php artisan migrate:fresh --seed
Create database entries to test
php artisan db:seed
Run server
php artisan serve
To run unit teste
vendor/bin/phpunit
To run this project you will need to create access token with /api/V1/login
endpoint after use php artisan db:seed
(NOTE: If you run the unit test the database will be deleted so you will need to run the command php artisan db:seed
again )
http://127.0.0.1:8000/api/documentation