This project requires PHP 8.0 or higher and MySQL 5.7 or higher.
Run standard Laravel installation procedures.
After local installation, run migrations and seeders.
php artisan migrate --seed
This will create default roles and users.
After seeding initial data, run phpunit to run all tests.
vendor/bin/phpunit
API Endpoints with test data are defined in Postman Collection file.
Two users are already created by a seeder:
Buyer account:
Email: [email protected]
Password: buyer123
Seller account:
Email: [email protected]
Password: seller123