AmrYami / taskBestCommerce

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

taskBestCommerce

first create new database and change file .env and put the name of database and you username and password

in command line do : composer update

second you need to do this command in command line : php artisan migrate --seed

now we have some users please check your database and choose email and password for all : 123456789 and every user has his own products to make the 2 High # Priorities functions list products and add # # # discount check file api.php in directory routes to see the url you want to go.

if you didnt use laravel please note the route will be like :localhost/taskBestCommerce/public/api/ + route in api file

example: localhost/nameProject/public/api/products?page=1&orderPrice=lowToHigh&orderInventory=lowToHigh

About


Languages

Language:JavaScript 82.0%Language:CSS 10.2%Language:PHP 5.6%Language:Blade 2.1%Language:Shell 0.1%Language:Vue 0.0%Language:SCSS 0.0%