Skip to content

benoualiabdelkader/Tech-Nova-Shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

"# πŸ›’ TechNova - Premium Electronics Store

HTML5 CSS3 JavaScript Tailwind

πŸš€ Modern E-commerce Website with Advanced Features

A fully responsive, feature-rich online electronics store built with vanilla JavaScript, HTML5, and Tailwind CSS


Screenshot Screenshot Screenshot Screenshot Screenshot Screenshot Screenshot Screenshot

πŸ“‹ Table of Contents


✨ Features

πŸ›οΈ E-commerce Core

  • Product Catalog with real-time API integration (FakeStore API)
  • Advanced Search & Filtering with intelligent suggestions
  • Shopping Cart with persistent storage
  • Secure Checkout Process with form validation
  • Price Range Filtering and multiple sorting options

πŸ‘€ Account Management

  • User Registration & Authentication (Demo available)
  • Profile Management with editable user information
  • Order History with detailed tracking
  • Account Settings with preferences
  • Secure Login/Logout with session persistence

🎨 User Interface

  • Modern Dark Theme with professional design
  • Interactive Image Slider with Unsplash API integration
  • Responsive Navigation with mobile hamburger menu
  • Toast Notifications for user feedback
  • Product Modals with detailed information
  • Loading States and error handling

πŸ“± Mobile Experience

  • Fully Responsive design for all devices
  • Touch-Friendly interactions
  • Mobile-Optimized navigation
  • Progressive Web App ready architecture

πŸ”§ Additional Features

  • Multi-page Architecture (Login, Signup, Support, etc.)
  • Local Storage Integration for data persistence
  • API Error Handling with fallback states
  • SEO Optimized structure
  • Accessibility Features (ARIA labels, keyboard navigation)

🎯 Demo

🌐 Live Demo

You can view the live website by opening index.html in your browser or hosting it on any web server.

πŸ§ͺ Quick Test

  1. Click the green "Demo Login" button (bottom-left corner)
  2. Explore all features with the demo account
  3. Add products to cart and complete checkout
  4. Check your order history in the account section

πŸ› οΈ Technologies Used

Technology Purpose Version
HTML5 Structure & Semantics Latest
CSS3 Styling & Animations Latest
JavaScript (ES6+) Functionality & Logic Vanilla JS
Tailwind CSS Utility-First Styling v3.x
FakeStore API Product Data REST API
Unsplash API Dynamic Images REST API
LocalStorage Data Persistence Browser API
Inter Font Typography Google Fonts

πŸš€ Quick Start

πŸ“‹ Prerequisites

  • Modern web browser (Chrome, Firefox, Safari, Edge)
  • Local web server (optional, for development)

⚑ Installation

  1. Clone the repository

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

    # Option 1: Direct file opening
    open index.html
    
    # Option 2: Using Python server
    python -m http.server 8000
    
    # Option 3: Using Node.js server
    npx serve .
    
    # Option 4: Using Live Server (VS Code extension)
    # Right-click index.html β†’ "Open with Live Server"
  3. Start exploring!

    • Use the demo login feature for full functionality
    • Browse products, add to cart, and complete checkout
    • Explore account management features

πŸ“ Project Structure

technova-ecommerce/
β”œβ”€β”€ πŸ“„ index.html          # Main homepage with all views
β”œβ”€β”€ 🎨 style.css           # Custom styles and animations
β”œβ”€β”€ ⚑ script.js           # Application logic and functionality
β”œβ”€β”€ πŸ” login.html          # Login page
β”œβ”€β”€ πŸ“ signup.html         # Registration page
β”œβ”€β”€ πŸŽ‰ promotions.html     # Deals and promotions
β”œβ”€β”€ πŸ†˜ support.html        # Customer support
β”œβ”€β”€ πŸ”’ privacy.html        # Privacy policy
β”œβ”€β”€ πŸ“œ terms.html          # Terms of service
└── πŸ“– README.md           # Project documentation

🎨 Pages & Views

🏠 Main Application (index.html)

  • Shop View - Product catalog with filtering and search
  • Cart View - Shopping cart management
  • Checkout View - Secure checkout process
  • Profile View - User profile management
  • Orders View - Order history and tracking
  • Settings View - Account preferences
  • About View - Company information
  • Contact View - Contact form
  • Terms View - Terms of service

πŸ“„ Standalone Pages

  • Login Page - User authentication
  • Signup Page - New user registration
  • Promotions Page - Special offers and deals
  • Support Page - Help and customer service
  • Privacy Page - Privacy policy details

πŸ’Ύ Data Management

πŸ—„οΈ Local Storage

// User data persistence
localStorage.setItem('techNovaUser', userData);
localStorage.setItem('techNovaCart', cartData);
localStorage.setItem('techNovaOrders', ordersData);

🌐 API Integration

// Product data from FakeStore API
const API_URL = 'https://fakestoreapi.com/products';

// Dynamic slider images from Unsplash
const UNSPLASH_API = 'https://source.unsplash.com/';

πŸ’‘ Data Flow

  1. Products β†’ Fetched from FakeStore API
  2. Cart β†’ Stored in localStorage
  3. User Account β†’ Managed in localStorage
  4. Orders β†’ Saved locally with full tracking

πŸ“± Responsive Design

πŸ–₯️ Desktop (1024px+)

  • Full navigation with all features
  • 4-column product grid
  • Sidebar filters and sorting

πŸ“± Tablet (768px - 1023px)

  • Adapted navigation
  • 3-column product grid
  • Optimized spacing

πŸ“± Mobile (< 768px)

  • Hamburger menu navigation
  • Single/double column layout
  • Touch-optimized interactions
  • Swipe-friendly carousel

πŸ”§ Configuration

πŸŽ›οΈ Customization Options

// API Configuration
const API_URL = 'https://fakestoreapi.com/products';

// UI Configuration
const ITEMS_PER_PAGE = 20;
const SLIDER_INTERVAL = 5000; // 5 seconds
const TOAST_DURATION = 3000;  // 3 seconds

// Search Suggestions
const searchSuggestions = [
  'laptop', 'phone', 'headphones', 'watch', 'tablet'
];

🎨 Styling Customization

/* Color Variables (Tailwind CSS) */
:root {
  --primary-color: #6366f1;    /* Indigo */
  --secondary-color: #10b981;  /* Emerald */
  --background-color: #111827; /* Gray-900 */
  --text-color: #f9fafb;       /* Gray-50 */
}

🀝 Contributing

We welcome contributions! Here's how you can help:

πŸ› οΈ Development Setup

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit changes: git commit -m 'Add amazing feature'
  4. Push to branch: git push origin feature/amazing-feature
  5. Open a Pull Request

🎯 Contribution Areas

  • πŸ› Bug fixes and improvements
  • ✨ New features and enhancements
  • πŸ“– Documentation updates
  • 🎨 UI/UX improvements
  • πŸ§ͺ Testing and quality assurance

πŸ“‹ Coding Standards

  • Use ES6+ JavaScript features
  • Follow consistent indentation (2 spaces)
  • Add comments for complex logic
  • Ensure responsive design compatibility

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ“ License Summary

  • βœ… Commercial use
  • βœ… Modification
  • βœ… Distribution
  • βœ… Private use
  • ❌ Liability
  • ❌ Warranty

🌟 Star this repository if you found it helpful!

GitHub stars GitHub forks GitHub issues

Made with ❀️ by the TechNova Team

Β© 2025 TechNova. All rights reserved.


πŸ”— Quick Links

About

Tech-Nova-Shop is a modern, responsive e-commerce website for electronics, built with HTML, Tailwind CSS, and JavaScript. Features include product catalog, advanced search and filters, shopping cart, secure checkout, user accounts, and demo login for testing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors