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 ecommerce -
Open 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