Skip to content

DevDRavi/Ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ShopEase - E-Commerce Platform

A modern, responsive e-commerce web application built with HTML, CSS, and JavaScript. ShopEase provides a complete online shopping experience with user authentication, product browsing, cart management, and an admin dashboard.

πŸš€ Features

Customer Features

  • User Authentication: Login, Register, and Profile Management
  • Product Browsing: View products with filtering, sorting, and search
  • Shopping Cart: Add/remove items, update quantities
  • Wishlist: Save favorite products
  • Checkout Process: Complete order placement
  • Order Tracking: View order history and status
  • Product Details: Detailed product information with reviews and ratings
  • Responsive Design: Mobile-friendly interface

Admin Features

  • Dashboard: Overview of sales, orders, and analytics
  • Product Management: Add, edit, delete products
  • Category Management: Manage product categories
  • Order Management: View and update order status
  • Customer Management: View customer information
  • Reports & Analytics: Sales reports and statistics

πŸ“ Project Structure

Ecommerce/
β”œβ”€β”€ index.html                 # Home page
β”œβ”€β”€ README.md                  # Project documentation
β”‚
β”œβ”€β”€ css/                       # Stylesheets
β”‚   β”œβ”€β”€ style.css             # Main styles for customer-facing pages
β”‚   └── admin.css             # Admin panel specific styles
β”‚
β”œβ”€β”€ js/                        # JavaScript files
β”‚   β”œβ”€β”€ app.js                # Main application logic
β”‚   β”œβ”€β”€ auth.js               # Authentication functionality
β”‚   β”œβ”€β”€ cart.js               # Shopping cart management
β”‚   β”œβ”€β”€ products.js           # Product display and filtering
β”‚   β”œβ”€β”€ data.js               # Sample data and API calls
β”‚   β”œβ”€β”€ utils.js              # Utility functions
β”‚   β”œβ”€β”€ admin.js              # Admin panel functionality
β”‚   └── admin-dashboard.js    # Admin dashboard logic
β”‚
β”œβ”€β”€ images/                    # Image assets
β”‚   β”œβ”€β”€ products/             # Product images
β”‚   β”œβ”€β”€ categories/           # Category images
β”‚   └── icons/                # Icons and logos
β”‚
β”œβ”€β”€ pages/                     # Customer pages
β”‚   β”œβ”€β”€ products.html         # Product listing page
β”‚   β”œβ”€β”€ product-detail.html   # Single product details
β”‚   β”œβ”€β”€ cart.html             # Shopping cart
β”‚   β”œβ”€β”€ checkout.html         # Checkout process
β”‚   β”œβ”€β”€ login.html            # User login
β”‚   β”œβ”€β”€ register.html         # User registration
β”‚   β”œβ”€β”€ profile.html          # User profile
β”‚   └── orders.html           # Order history
β”‚
└── admin/                     # Admin panel pages
    β”œβ”€β”€ dashboard.html        # Admin dashboard
    β”œβ”€β”€ products.html         # Product management
    β”œβ”€β”€ categories.html       # Category management
    └── orders.html           # Order management

πŸ› οΈ Technologies Used

  • HTML5: Semantic markup
  • CSS3: Modern styling with Flexbox and Grid
  • JavaScript (ES6+): Client-side functionality
  • Font Awesome: Icons
  • LocalStorage: Data persistence
  • Chart.js: Admin dashboard charts

🎨 Design Features

  • Modern UI: Clean and intuitive interface
  • Responsive Design: Works on all devices (mobile, tablet, desktop)
  • CSS Variables: Easy theme customization
  • Smooth Animations: Enhanced user experience
  • Accessible: WCAG compliant

πŸ“¦ Key Components

CSS Architecture

  • Global Styles: Variables, typography, reset
  • Layout: Container, grid, flexbox utilities
  • Components: Buttons, cards, forms, tables
  • Sections: Header, hero, products, footer
  • Admin Panel: Sidebar, dashboard, data tables
  • Responsive: Mobile-first approach

JavaScript Modules

  • Authentication: User login/register, session management
  • Cart Management: Add to cart, update quantities, checkout
  • Product Display: Dynamic rendering, filtering, sorting
  • Admin Functions: CRUD operations for products and orders
  • Utilities: Helper functions, data formatting

🚦 Getting Started

Prerequisites

  • Modern web browser (Chrome, Firefox, Safari, Edge)
  • Text editor or IDE
  • Local development server (optional)

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/ecommerce.git
    cd ecommerce
  2. Open the project

    • Simply open index.html in your browser
    • Or use a local development server:
      # Using Python
      python -m http.server 8000
      
      # Using Node.js (http-server)
      npx http-server
  3. Access the application

    • Customer site: http://localhost:8000/index.html
    • Admin panel: http://localhost:8000/admin/dashboard.html

Default Credentials

πŸ“± Pages Overview

Customer Pages

  1. Home (index.html): Hero section, featured products, categories
  2. Products (pages/products.html): Product grid with filters
  3. Product Detail (pages/product-detail.html): Single product view
  4. Cart (pages/cart.html): Shopping cart management
  5. Checkout (pages/checkout.html): Order placement
  6. Login/Register (pages/login.html, pages/register.html): Authentication
  7. Profile (pages/profile.html): User account management
  8. Orders (pages/orders.html): Order history

Admin Pages

  1. Dashboard (admin/dashboard.html): Analytics and overview
  2. Products (admin/products.html): Product CRUD operations
  3. Categories (admin/categories.html): Category management
  4. Orders (admin/orders.html): Order management

🎯 Features in Detail

Product Filtering & Sorting

  • Filter by category, price range, rating
  • Sort by price, name, popularity, newest
  • Search functionality
  • Grid/List view toggle

Shopping Cart

  • Add/remove items
  • Update quantities
  • Calculate totals with tax and shipping
  • Persistent storage (LocalStorage)
  • Cart count badge

Admin Dashboard

  • Sales overview charts
  • Order statistics
  • Top-selling products
  • Low stock alerts
  • Recent orders table

πŸ”§ Customization

Colors

Edit CSS variables in css/style.css:

:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    /* Add your colors */
}

Content

  • Update product data in js/data.js
  • Modify text content in HTML files
  • Replace images in images/ folder

🌐 Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

πŸ“„ License

This project is open source and available under the MIT License.

πŸ‘₯ Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“§ Contact

For questions or support, please contact:

πŸ™ Acknowledgments

  • Font Awesome for icons
  • Unsplash for sample images
  • Chart.js for admin dashboard charts

Made with ❀️ by ShopEase Team

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages