For Windows (XAMPP) #
- Download and install XAMPP.
- Start Apache and MySQL from XAMPP Control Panel.
- Open http://localhost/phpmyadmin to manage databases.
For Linux (LAMP) #
sudo apt update
sudo apt install apache2 mysql-server php libapache2-mod-php php-mysql -y
sudo apt install php-bcmath php-ctype php-json php-mbstring php-openssl php-pdo php-tokenizer php-xml php-zip php-fileinfo php-gd php-sodium -y
For MacOS (MAMP) #
- Download and install MAMP.
- Start Apache and MySQL services from the MAMP control panel.
- Use http://localhost:8888/phpMyAdmin to manage databases.
Prepare Database #
- Go to phpMyAdmin (or use MySQL CLI).
- Create a new database (e.g.,
).quick_ecommerce_api - No need to create a user for local development (root is default)
Extract Project Files #
- Copy or extract the
Quick-Ecommerce-Api.zip into your local server root:- XAMPP →
C:\xampp\htdocs\quick-ecommerce-api - MAMP →
/Applications/MAMP/htdocs/-apiquick-ecommerce - LAMP →
/var/www/html/-apiquick-ecommerce
- XAMPP →
- Navigate into the project folder:
cd quick-ecommerce-api
Configure Environment File
Duplicate the example environment file:
cp .env.example .env // linux
copy .env.example .env // windows
Install Dependencies #
Install all required packages using Composer:
composer install
Generate Laravel application key:
php artisan key:generate
Create Storage Link #
To make storage files accessible:
php artisan storage:link
Serve the Application #
Run the Laravel development server:
php artisan serve
Starting Laravel development server: http://127.0.0.1:8000
Access the Installer: #
Open your browser and go to either of these URLs:
http://127.0.0.1:8000
http://localhost/quick-ecommerce-api/public