Skip to content

mohamedAskaarrr/Product-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›’ Product Store - Advanced Laravel E-commerce Platform

A comprehensive e-commerce platform built with Laravel 11, featuring multi-role management, advanced authentication, and complete business operations management.

✨ Features

πŸ›οΈ E-commerce Core

  • 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

πŸ‘₯ Multi-Role System

  • 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

πŸ” Advanced Authentication

  • Laravel Passport API authentication
  • Social login integration (Google, GitHub, Discord)
  • Email verification system
  • Password reset functionality
  • Role-based permissions using Spatie Laravel Permission

πŸ“Š Admin Dashboard

  • Real-time sales analytics
  • Monthly statistics and charts
  • User management interface
  • Financial tracking and reporting
  • Order management system

πŸ’° Financial Management

  • Sales tracking and reporting
  • Expense management
  • Profit calculation and analysis
  • Credit request system
  • Refund processing

🎨 Modern UI/UX

  • Responsive design with TailwindCSS
  • AdminLTE dashboard theme
  • AlpineJS for interactive components
  • Mobile-friendly interface

πŸš€ Technology Stack

Backend

  • Laravel 11 - PHP framework
  • Laravel Passport - API authentication
  • Spatie Laravel Permission - Role & permission management
  • Laravel Socialite - Social authentication
  • MySQL - Database

Frontend

  • Blade Templates - Server-side rendering
  • TailwindCSS - Utility-first CSS framework
  • AlpineJS - Lightweight JavaScript framework
  • AdminLTE - Admin dashboard theme
  • Vite - Build tool and asset bundling

Development Tools

  • Laravel Pint - Code style fixer
  • Laravel Sail - Docker development environment
  • Faker - Test data generation

πŸ“Έ Application Screenshots

🏠 Homepage & Product Catalog

Homepage
Modern responsive homepage with featured products

Product Catalog
Complete product catalog with search and filtering

πŸ“Š Admin Dashboard

Admin Dashboard
Comprehensive admin dashboard with analytics

User Management
Advanced user management with role-based permissions

πŸ›’ Shopping Experience

Shopping Cart
Intuitive shopping cart and checkout process

Order Management
Complete order tracking and management system

πŸ’Ό Business Management

Financial Dashboard
Financial tracking and reporting interface

Inventory Management
Stock management and supplier interface

πŸ” Authentication System

Login System
Secure login with social authentication options

User Profile
User profile management and settings

πŸ“¦ Installation

Prerequisites

  • PHP 8.2 or higher
  • Composer
  • Node.js & NPM
  • MySQL database

Setup Steps

  1. Clone the repository
git clone https://github.com/mohamedAskaarrr/Product-store.git
cd Product-store
  1. Install PHP dependencies
composer install
  1. Install Node.js dependencies
npm install
  1. Environment setup
cp .env.example .env
php artisan key:generate
  1. 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
  1. Run migrations and seeders
php artisan migrate
php artisan db:seed
  1. Install Laravel Passport
php artisan passport:install
  1. Build assets
npm run build
# or for development
npm run dev
  1. 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

πŸ”‘ Default Credentials

After seeding, you can use these default accounts:

🎯 Key Functionalities

For Customers

  • 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

For Admins

  • Complete user management
  • Product inventory control
  • Sales and financial reporting
  • Order processing and management
  • System configuration

API Features

  • RESTful API with Passport authentication
  • User registration and authentication endpoints
  • Product and order management APIs
  • Complete CRUD operations

πŸ“ Project Structure

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

πŸ›‘οΈ Security Features

  • 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

πŸš€ Live Demo Features

🎨 Modern Design

  • Fully responsive design that works on all devices
  • Clean and intuitive user interface
  • Professional color scheme and typography
  • Smooth animations and transitions

πŸ”„ Real-time Functionality

  • Live product search and filtering
  • Real-time cart updates
  • Instant notifications for actions
  • Dynamic dashboard charts and statistics

πŸ“± Mobile Optimized

  • Touch-friendly interface
  • Optimized for mobile shopping
  • Fast loading times
  • Progressive Web App features

πŸš€ Deployment

Production Setup

  1. Set APP_ENV=production in .env
  2. Set APP_DEBUG=false
  3. Configure production database
  4. Set up proper file permissions
  5. Configure web server (Apache/Nginx)
  6. Set up SSL certificate
  7. Configure email settings for production

Recommended Hosting

  • Shared Hosting: Any Laravel-compatible hosting
  • VPS: DigitalOcean, Linode, AWS EC2
  • Managed: Laravel Forge, Vapor

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is open-sourced software licensed under the MIT license.

πŸ‘¨β€πŸ’» Developer

Mohamed Askar

πŸ› οΈ What I Built

"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."

πŸ’Ό Technical Highlights

  • βœ… 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

πŸ™ Acknowledgments

  • 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.

About

Product Store Blade PHP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages