Ecommerce API
This is an ecommerce API which can be used to manage orders , users , products and reviews , An Admin dashboard is also included to allow administrators interact with the application
Installation
-
Clone the repository
-
Change directory into the folder that contains the repository
cd folder name
-
install composer
composer install
-
Install NPM Dependencies - npm install
npm install
-
Create a copy of your .env file
cp .env.example .env
-
Generate an app encryption key
php artisan key:generate
-
Create a new database for the application and let its name match with the name in the .env file
-
Migrate tables to the database - php artisan migrate
php artisan migrate
-
You can seed the database with the default seeders included
php artisan db:seed
-
Start the application
php artisan serve