Bravo Mart

View Categories

Local Setup

< 1 min read

For Windows (XAMPP) #

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) #

  1. Download and install MAMP.
  2. Start Apache and MySQL services from the MAMP control panel.
  3. Use http://localhost:8888/phpMyAdmin to manage databases.

Prepare Database #

  1. Go to phpMyAdmin (or use MySQL CLI).
  2. Create a new database (e.g., quick_ecommerce_api).
  3. No need to create a user for local development (root is default)

Extract Project Files #

  1. Copy or extract the Quick-Ecommerce-Api.zip into your local server root:
    • XAMPP → C:\xampp\htdocs\quick-ecommerce-api
    • MAMP → /Applications/MAMP/htdocs/quick-ecommerce-api
    • LAMP → /var/www/html/quick-ecommerce-api
  2. 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

Leave a Reply