composer install
php artisan migrate
php artisan passport:install
php artisan serve
- Method
POST
- URL
/api/register
name, email, password, password_confirmation
- Method
POST
- URL
/api/login
email, password
- Method
POST
- URL
/api/products
name, price
./vendor/bin/phpunit tests/Feature/Http/Controllers/ProductTest.php