Skip to content

AhmadHabib24/Mini-E-Com-Task

Repository files navigation

🛒 Mini E-Com Task

A simple Laravel-based E-Commerce mini project demonstrating role-based product management between Vendor and Admin.
The project focuses on product approval workflows and email notifications.


🚀 Features

  • Authentication

    • Vendor login
    • Admin login
  • Vendor Panel

    • Add new products
    • View product approval status
  • Admin Panel

    • View all products submitted by vendors
    • Approve or Reject products
    • Manage product listing
  • Notifications

    • Email notification sent to vendor on product approval/rejection
    • SMTP configuration required in .env file

⚙️ Tech Stack

  • Backend: Laravel 10+
  • Database: MySQL
  • Frontend: Blade / Bootstrap
  • Email Notifications: Laravel Mail

🔧 Installation & Setup

  1. Clone the repository
    git clone https://github.com/AhmadHabib24/Mini-E-Com-Task.git
    cd Mini-E-Com-Task
    

composer install npm install && npm run dev

DB_DATABASE=ecomtask DB_USERNAME=root DB_PASSWORD=

MAIL_MAILER=smtp MAIL_HOST=smtp.yourmail.com MAIL_PORT=587 MAIL_USERNAME=your_email@example.com MAIL_PASSWORD=your_password MAIL_ENCRYPTION=tls MAIL_FROM_ADDRESS=your_email@example.com MAIL_FROM_NAME="Mini E-Com Task"

👥 User Roles

Vendor

Can add products

Can view approval status of products

Admin

Can approve/reject vendor products

Manages product listing

📧 Email Notifications

On product approval/rejection, an email will be sent to the vendor.

Make sure you have configured the correct SMTP settings in .env.

📌 Purpose of the Task

This mini project was built to demonstrate:

Role-based access (Admin vs Vendor)

Approval workflow for product publishing

Integration of email notifications

Basic Laravel E-Commerce structure

About

A Laravel-based mini e-commerce system with role-based access, product approval, and email notifications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages