A comprehensive e-commerce platform built with Laravel 11, featuring multi-role management, advanced authentication, and complete business operations management.
- Product catalog with categories and search
- Shopping cart and checkout system
- Order management and tracking
- Product reviews and ratings
- Favorites/wishlist functionality
- Stock management and inventory tracking
- Admin: Full system control, user management, financial oversight
- Manager: Dashboard access, sales management, reports
- Employee: Customer support, limited admin functions
- Customer: Shopping, order history, profile management
- Supplier: Stock management, product updates
- Laravel Passport API authentication
- Social login integration (Google, GitHub, Discord)
- Email verification system
- Password reset functionality
- Role-based permissions using Spatie Laravel Permission
- Real-time sales analytics
- Monthly statistics and charts
- User management interface
- Financial tracking and reporting
- Order management system
- Sales tracking and reporting
- Expense management
- Profit calculation and analysis
- Credit request system
- Refund processing
- Responsive design with TailwindCSS
- AdminLTE dashboard theme
- AlpineJS for interactive components
- Mobile-friendly interface
- Laravel 11 - PHP framework
- Laravel Passport - API authentication
- Spatie Laravel Permission - Role & permission management
- Laravel Socialite - Social authentication
- MySQL - Database
- Blade Templates - Server-side rendering
- TailwindCSS - Utility-first CSS framework
- AlpineJS - Lightweight JavaScript framework
- AdminLTE - Admin dashboard theme
- Vite - Build tool and asset bundling
- Laravel Pint - Code style fixer
- Laravel Sail - Docker development environment
- Faker - Test data generation
Modern responsive homepage with featured products
Complete product catalog with search and filtering
Comprehensive admin dashboard with analytics
Advanced user management with role-based permissions
Intuitive shopping cart and checkout process
Complete order tracking and management system
Financial tracking and reporting interface
Stock management and supplier interface
Secure login with social authentication options
User profile management and settings
- PHP 8.2 or higher
- Composer
- Node.js & NPM
- MySQL database
- Clone the repository
git clone https://github.com/mohamedAskaarrr/Product-store.git
cd Product-store
- Install PHP dependencies
composer install
- Install Node.js dependencies
npm install
- Environment setup
cp .env.example .env
php artisan key:generate
- Database configuration
# Update .env with your database credentials
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=product_store
DB_USERNAME=your_username
DB_PASSWORD=your_password
- Run migrations and seeders
php artisan migrate
php artisan db:seed
- Install Laravel Passport
php artisan passport:install
- Build assets
npm run build
# or for development
npm run dev
- Start the development server
# Option 1: Use Laravel's built-in server
php artisan serve
# Option 2: Use the convenient dev script
composer dev
The application will be available at http://localhost:8000
After seeding, you can use these default accounts:
- Admin: admin@example.com / password
- Customer: customer@example.com / password
- Browse and search products
- Add items to cart and checkout
- View order history and track orders
- Leave product reviews and ratings
- Manage favorites/wishlist
- Request refunds
- Complete user management
- Product inventory control
- Sales and financial reporting
- Order processing and management
- System configuration
- RESTful API with Passport authentication
- User registration and authentication endpoints
- Product and order management APIs
- Complete CRUD operations
app/
βββ Http/Controllers/
β βββ Web/ # Web controllers
β βββ Api/ # API controllers
βββ Models/ # Eloquent models
βββ Mail/ # Email templates
βββ ...
resources/
βββ views/ # Blade templates
βββ js/ # JavaScript files
βββ css/ # Stylesheets
routes/
βββ web.php # Web routes
βββ api.php # API routes
- CSRF protection on all forms
- SQL injection prevention through Eloquent ORM
- XSS protection via Blade templating
- Secure password hashing with bcrypt
- API rate limiting
- Role-based access control
- Fully responsive design that works on all devices
- Clean and intuitive user interface
- Professional color scheme and typography
- Smooth animations and transitions
- Live product search and filtering
- Real-time cart updates
- Instant notifications for actions
- Dynamic dashboard charts and statistics
- Touch-friendly interface
- Optimized for mobile shopping
- Fast loading times
- Progressive Web App features
- Set
APP_ENV=production
in.env
- Set
APP_DEBUG=false
- Configure production database
- Set up proper file permissions
- Configure web server (Apache/Nginx)
- Set up SSL certificate
- Configure email settings for production
- Shared Hosting: Any Laravel-compatible hosting
- VPS: DigitalOcean, Linode, AWS EC2
- Managed: Laravel Forge, Vapor
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is open-sourced software licensed under the MIT license.
Mohamed Askar
- GitHub: @mohamedAskaarrr
- LinkedIn: Connect with me
- Portfolio: View my work
"I developed this comprehensive e-commerce platform using Laravel 11 with advanced features including multi-role user management, social authentication, real-time analytics dashboard, and complete business operations management."
- β Laravel 11 with Passport API authentication
- β Spatie Permission package for role management
- β Social authentication (Google, GitHub, Discord)
- β Real-time dashboard with analytics
- β Complete e-commerce functionality
- β Email verification and notification system
- β Modern responsive UI with TailwindCSS
- β Advanced financial management system
- β Multi-role user access control
- Laravel Framework
- Spatie Packages
- AdminLTE Theme
- TailwindCSS
- All open-source contributors
Built with β€οΈ using Laravel 11
Note: More screenshots and images can be found in the public/images folder.