SmartShop is a complete e-commerce web application built with Laravel and MySQL. It features a user-friendly interface, secure authentication, and a basic product/cart/order system, making it an ideal starter template for building robust online stores.
The project uses:
- Laravel 10 for backend logic and routing
- MySQL as the database
- Clone the repository
git clone https://github.com/YathrebSamaali/SmartShop.git cd smartshop - Install dependencies
composer install npm install && npm run dev
-
Update your .env with your database credentials:
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=smart_shop_db DB_USERNAME=root DB_PASSWORD=
-
Run the following commands:
php artisan migrate php artisan db:seed # Optional
- Start the development server
php artisan serve
- Access the application
http://localhost:
⚠️ Note:
To access the admin login interface, make sure to visit:
http://localhost:8000/admin✅ Default Admin Credentials:
Email:admin@smart.com
Password:password123