- Clone project
git clone https://github.com/msajjad650/product-listing.git
- Goto .env file and update database and queue conntection strings
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=product-listing
DB_USERNAME=root
DB_PASSWORD=
QUEUE_CONNECTION=database
- Goto project directory and do composer install
cd product-listing
composer install
- Run Migrations
php artisan migrate
- Generate key
php artisan key:generate
- Run project
php artisan serve
- Import all products
http://127.0.0.1:8000/importProducts
and open new termianl and run
php artisan queue:work
- List Products
http://127.0.0.1:8000/products
Product Listing
- Import porducts
- Product listing (/products)
- View Product details
- Pagination
- Basic Filters