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.
- 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
- 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
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
- 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
- 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
- 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
- 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
- Modern web browser (Chrome, Firefox, Safari, Edge)
- Text editor or IDE
- Local development server (optional)
Clone the repository
git clone https://github.com/yourusername/ecommerce.git cd ecommerceOpen the project
- Simply open
index.htmlin your browser - Or use a local development server:
# Using Python python -m http.server 8000 # Using Node.js (http-server) npx http-server
- Simply open
Access the application
- Customer site:
http://localhost:8000/index.html - Admin panel:
http://localhost:8000/admin/dashboard.html
- Customer site:
Customer Account:
- Email: user@example.com
- Password: password123
Admin Account:
- Email: admin@shopease.com
- Password: admin123
- Home (
index.html): Hero section, featured products, categories - Products (
pages/products.html): Product grid with filters - Product Detail (
pages/product-detail.html): Single product view - Cart (
pages/cart.html): Shopping cart management - Checkout (
pages/checkout.html): Order placement - Login/Register (
pages/login.html,pages/register.html): Authentication - Profile (
pages/profile.html): User account management - Orders (
pages/orders.html): Order history
- Dashboard (
admin/dashboard.html): Analytics and overview - Products (
admin/products.html): Product CRUD operations - Categories (
admin/categories.html): Category management - Orders (
admin/orders.html): Order management
- Filter by category, price range, rating
- Sort by price, name, popularity, newest
- Search functionality
- Grid/List view toggle
- Add/remove items
- Update quantities
- Calculate totals with tax and shipping
- Persistent storage (LocalStorage)
- Cart count badge
- Sales overview charts
- Order statistics
- Top-selling products
- Low stock alerts
- Recent orders table
Edit CSS variables in css/style.css:
:root {
--primary-color:#2563eb;
--secondary-color:#10b981;
/* Add your colors */
}- Update product data in
js/data.js - Modify text content in HTML files
- Replace images in
images/folder
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
This project is open source and available under the MIT License.
Contributions are welcome! Please feel free to submit a Pull Request.
For questions or support, please contact:
- Email: support@shopease.com
- Website: www.shopease.com
- Font Awesome for icons
- Unsplash for sample images
- Chart.js for admin dashboard charts
Made with ❤️ by ShopEase Team