-
create
.env
-
composer install
-
npm install && npm run watch
-
php artisan serve
-
php artisan migrate
-
[optional]
php artisan db:seed
-
./vendor/bin/phpunit
to test all tests -
Web API:
Endpoint Verb Description http:https://127.0.0.1:8000/persons GET List of all Persons http:https://127.0.0.1:8000/persons/create POST Add a new person form -
API:
Endpoint Verb Description http:https://127.0.0.1:8000/persons GET List of all Persons http:https://127.0.0.1:8000/persons POST Save a new person http:https://127.0.0.1:8000/persons/{person} PATCH Update an existing person http:https://127.0.0.1:8000/persons/{person} DELETE Add a new person form