- PHP >= 8.0
- Laravel >= 8.6
git clone https://github.com/reyadkhan/we-commerce-api.git
cd we-commerce-api
composer intall
cp .env.example .env
php artisan key:generate
Create a database and put it to .env file
php artisan migrate --seed
This will create a default admin user in the database with E-mail: [email protected]
and Pass: admin123
To get order notification in admin mail, Please configure email in the .env file
For task scheduling (Delivered orders move to deliveries)
in local
php artisan schedule:work
NB: The postman collection has been placed under test/post-main directory and also you can visit here