A scalable and extensible eCommerce web application built with Laravel. This project includes a complete admin dashboard and frontend store with essential features like cart, favorites, role-based access, and more.
- Add / Edit / Delete:
- Products
- Categories
- Tags
- Attributes
- Product Images
- Role-based access control (Admins with custom privileges)
- Add products to Favorites
- Add products to Cart
- Browse categories and product listings
- Product details page
- Backend: Laravel (PHP Framework)
- Frontend: Blade templating engine
- Database: MySQL
- Authentication&Authorization: Laravel Gates & Middleware
- Clone the repository:
git clone https://github.com/amar21112/ecommerce.git
cd ecommerce- Install dependence
cp .env.example .env
php artisan key:generate- Setup environment
cp .env.example .env
php artisan key:generate4.Configure your .env file
5.Run migration and seeds
php artisan migrate --seed- Serve the app
php artisan serve🛡️ Roles & Permissions Admin users have access to all dashboard features. Permissions are managed using Laravel Gate and Middleware.