This application demonstrates skills in PHP, MySQL, and Laravel through a small online store with products.
-
Import the database:
- Open phpMyAdmin or a MySQL client.
- Import the
rocket_store.sqlfile. - This will create the
rocket_storedatabase and theproductstable with example data.
-
Set up Laravel:
- Clone the project:
git clone https://github.com/0bora0/Products.git cd Products - Install dependencies:
composer install
- Create the
.envfile:cp .env.example .env
- Configure the database connection in
.env:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=rocket_store DB_USERNAME=root DB_PASSWORD=
- Clone the project:
-
Start the local server:
php artisan serve