Skip to content

MegaCart is a Django-based E-Commerce platform supporting multiple user roles (Admin, Seller, Customer). It features product management, secure authentication, cart & checkout, and a modern admin dashboard. Ideal for developers exploring real-world Django projects.

Notifications You must be signed in to change notification settings

Dhananjay66/megacart

Repository files navigation

🛒 MegaCart - E-Commerce Platform (Django)

MegaCart is a full-featured, scalable e-commerce platform built using Django. It supports multi-role user management (admin, seller, customer), a dynamic product catalog, secure checkout, and a powerful admin dashboard.


🚀 Features

  • 🧑‍💼 Multi-role support (Admin, Seller, Customer)
  • 🛍️ Product Management with image uploads
  • 🛒 Cart and Checkout system
  • 💳 Payment Gateway integration (dummy/PayPal-ready)
  • 📦 Order tracking and order history
  • 🧾 Invoice & Email Notifications
  • 🧑‍🔒 Secure Authentication with Email Verification
  • 📂 Modular Codebase (accounts, carts, category, orders, store)
  • 🔐 Password Reset, Account Activation
  • 📊 Admin Dashboard with insights

🌍 Live Demo

🔗 Live Demo: Click Here


📁 Project Structure

MegaCart/
├── accounts/        # User management and authentication
├── carts/           # Shopping cart logic
├── category/        # Product categorization
├── megacart/        # Main Django project settings (previously 'greatcart')
├── media/           # Uploaded files and product images
├── orders/          # Order placement and payment logic
├── store/           # Product listing, search, filters
├── templates/       # HTML templates (with modular includes)
├── static/          # CSS, JS, images, fonts
├── db.sqlite3       # SQLite3 database
└── manage.py        # Django management script

⚙️ Installation Guide

  1. Clone the Repository

    git clone https://github.com/Dhananjay66/megacart.git
    cd megacart
  2. Create a Virtual Environment

    python -m venv venv
    source venv/bin/activate  # Windows: venv\Scripts\activate
  3. Install Dependencies

    pip install -r requirements.txt
  4. Apply Migrations

    python manage.py makemigrations
    python manage.py migrate
  5. Create Superuser

    python manage.py createsuperuser
  6. Run Development Server

    python manage.py runserver
  7. Visit

    http://127.0.0.1:8000/
    

🔐 Default Roles

Role Description
Admin Has access to Django admin site
Seller Can add/manage products
Customer Can place orders and view cart

🧪 Testing

Use Django's test framework:

python manage.py test

🤝 Contributing

We love contributions from the community!

  • 🐞 Found a bug? Open an issue.
  • 🚀 Want to add a new feature? Fork the repo and submit a PR.
  • 📄 Make sure to update documentation if needed.
  • ✅ Please test your code before submitting.

Thank you for making this project better! 💖


📧 Contact

For any query or collaboration:
pratapdhananjay738@gmail.com

About

MegaCart is a Django-based E-Commerce platform supporting multiple user roles (Admin, Seller, Customer). It features product management, secure authentication, cart & checkout, and a modern admin dashboard. Ideal for developers exploring real-world Django projects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published