Skip to content

webhossen/BD-Fashion

Repository files navigation

BD Fashion

Website GitHub

A modern, responsive e-commerce platform for custom t-shirt design and premium printing, serving Bangladesh. Create personalized apparel with our easy-to-use design studio, featuring high-quality prints, fast delivery, and secure checkout.

Table of Contents

Features

πŸ›οΈ E-Commerce Core

  • Product Catalog: Browse premium t-shirt styles with detailed descriptions and high-resolution images
  • Custom Design Studio: Intuitive drag-and-drop editor for creating personalized t-shirts
  • Shopping Cart: Add, update, and manage cart items with real-time totals
  • Secure Checkout: Multiple payment options including bKash, cards, and mobile wallets
  • Order Tracking: Real-time order status updates and history

πŸ‘€ User Management

  • User Authentication: Secure login and registration system
  • Profile Management: Update personal information and preferences
  • Order History: View past orders with detailed information
  • Review System: Rate and review products with star ratings

🎨 Design & Customization

  • Advanced Editor: Layer-based design tool with text, images, and shapes
  • Multiple Views: Design front, back, and sleeves of t-shirts
  • Color Palette: Unlimited color options for shirts and prints
  • Template Library: Save and reuse custom designs
  • Real-time Preview: See designs on 3D t-shirt mockups

πŸ“± User Experience

  • Responsive Design: Optimized for desktop, tablet, and mobile devices
  • Fast Loading: Optimized images and efficient code structure
  • Accessibility: WCAG compliant design with proper ARIA labels
  • Progressive Web App: Installable on mobile devices

πŸ› οΈ Admin Features

  • Product Management: Add, edit, and remove products
  • Order Management: Process and track customer orders
  • User Management: View and manage user accounts
  • Analytics Dashboard: Basic sales and user statistics

Technologies Used

  • Frontend: HTML5, CSS3, JavaScript (ES6+)
  • Styling: Tailwind CSS (v2.x)
  • Icons: Flaticon.com
  • Data Storage: LocalStorage for client-side data persistence
  • Build Tools: None (static site)

Languages and Versions

All pages are built using:

  • HTML: HTML5
  • CSS: CSS3 with Tailwind CSS framework (v2.x)
  • JavaScript: ES6+ (ECMAScript 2015+)

Page Language/Version Matrix

Page Filename HTML CSS JavaScript Description
Home index.html HTML5 CSS3 + Tailwind v2.x ES6+ Landing page with featured products and hero section
Products products.html HTML5 CSS3 + Tailwind v2.x ES6+ Product catalog with filtering and search
Product Detail product-detail.html HTML5 CSS3 + Tailwind v2.x ES6+ Individual product page with customization options
Cart cart.html HTML5 CSS3 + Tailwind v2.x ES6+ Shopping cart management
Checkout checkout.html HTML5 CSS3 + Tailwind v2.x ES6+ Secure payment and order placement
Order order.html HTML5 CSS3 + Tailwind v2.x ES6+ Order confirmation and details
Order History order-view.html HTML5 CSS3 + Tailwind v2.x ES6+ Past orders and tracking
Login login.html HTML5 CSS3 + Tailwind v2.x ES6+ User authentication
Profile profile.html HTML5 CSS3 + Tailwind v2.x ES6+ User account management
About about.html HTML5 CSS3 + Tailwind v2.x ES6+ Company information and story
Contact contact.html HTML5 CSS3 + Tailwind v2.x ES6+ Contact form and information

Page-specific details:

  • All HTML pages use semantic HTML5 structure
  • CSS files use CSS3 with Tailwind utility classes for responsive styling
  • JavaScript files use modern ES6+ features including arrow functions, async/await, and DOM manipulation

Prerequisites

  • Modern web browser (Chrome 70+, Firefox 65+, Safari 12+, Edge 79+)
  • Internet connection for loading external resources (Tailwind CSS, icons)
  • No server-side requirements (static site)

Installation

  1. Clone the repository:

    git clone https://github.com/webhossen/bd-fashion.git
    cd bd-fashion
  2. Open in browser:

    • Open index.html in your preferred web browser
    • No build process or server setup required
  3. Optional: Run locally with a server (for better development experience):

    # Using Python (if installed)
    python -m http.server 8000
    
    # Using Node.js (if installed)
    npx serve .
    
    # Then open http://localhost:8000 in your browser

Usage

For Customers

  1. Browse Products: Visit the home page to see featured t-shirts
  2. Customize: Click "Start Designing" to use the design studio
  3. Add to Cart: Select your custom design and add to cart
  4. Checkout: Complete payment with your preferred method
  5. Track Order: Monitor your order status in your profile

Key Workflows

  • Design Creation: Home β†’ Products β†’ Design Studio β†’ Cart β†’ Checkout
  • Order Tracking: Profile β†’ Order History β†’ Order Details
  • Account Management: Login β†’ Profile β†’ Update Information

Project Structure

bd-fashion/
β”œβ”€β”€ index.html                    # Home page with hero and featured products
β”œβ”€β”€ products.html                 # Product catalog and design studio access
β”œβ”€β”€ product-detail.html           # Individual product customization
β”œβ”€β”€ cart.html                     # Shopping cart management
β”œβ”€β”€ checkout.html                 # Payment and order placement
β”œβ”€β”€ order.html                    # Order confirmation
β”œβ”€β”€ order-view.html               # Order history and tracking
β”œβ”€β”€ login.html                    # User authentication
β”œβ”€β”€ profile.html                  # User profile and settings
β”œβ”€β”€ about.html                    # Company information
β”œβ”€β”€ contact.html                  # Contact form and details
β”œβ”€β”€ CSS/
β”‚   β”œβ”€β”€ Login.css                 # Login page specific styles
β”‚   β”œβ”€β”€ nav.css                   # Navigation component styles
β”‚   β”œβ”€β”€ order-view.css            # Order history page styles
β”‚   β”œβ”€β”€ products.css              # Product catalog styles
β”‚   └── styles.css                # Global styles and utilities
β”œβ”€β”€ js/
β”‚   β”œβ”€β”€ auth.js                   # Authentication and session management
β”‚   β”œβ”€β”€ cart.js                   # Cart functionality and persistence
β”‚   β”œβ”€β”€ checkout.js               # Payment processing logic
β”‚   β”œβ”€β”€ contact.js                # Contact form handling
β”‚   β”œβ”€β”€ demo-payment-gateway.js   # Demo payment integration
β”‚   β”œβ”€β”€ header.js                 # Navigation and header logic
β”‚   β”œβ”€β”€ index.js                  # Home page interactions
β”‚   β”œβ”€β”€ login.js                  # Login form validation
β”‚   β”œβ”€β”€ order-view.js             # Order history display
β”‚   β”œβ”€β”€ order.js                  # Order placement logic
β”‚   β”œβ”€β”€ product-detail.js         # Product customization
β”‚   β”œβ”€β”€ products.js               # Product data and filtering
β”‚   β”œβ”€β”€ profile.js                # Profile management
β”‚   β”œβ”€β”€ test-payment-gateway.js   # Test payment environment
β”‚   └── test-payment.js           # Payment testing utilities
β”œβ”€β”€ Image/                        # Static assets and product images
β”‚   β”œβ”€β”€ man/                      # T-shirt mockup images
β”‚   β”œβ”€β”€ favicon-*.png             # Site favicons
β”‚   └── *.png                     # Icons and graphics
└── README.md                     # Project documentation

Browser Support

  • βœ… Chrome 70+
  • βœ… Firefox 65+
  • βœ… Safari 12+
  • βœ… Edge 79+
  • βœ… Mobile browsers (iOS Safari, Chrome Mobile)

Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch:
    git checkout -b feature/your-feature-name
  3. Make your changes and test thoroughly
  4. Commit your changes:
    git commit -m 'Add: Brief description of your changes'
  5. Push to your branch:
    git push origin feature/your-feature-name
  6. Create a Pull Request with a detailed description

Development Guidelines

  • Follow HTML5 semantic structure
  • Use Tailwind CSS utility classes for styling
  • Write clean, readable JavaScript with comments
  • Test on multiple browsers and devices
  • Ensure responsive design works on all screen sizes

Screenshots

Home Page

Home Page

Modern homepage showcasing custom t-shirt design capabilities

Product Catalog

Product Page

Product catalog with filtering and design options

About Page

About Page

Company story and brand information

Contact

BD Fashion Support Team

Business Hours

  • Monday - Friday: 9:00 AM - 6:00 PM (BST)
  • Saturday: 10:00 AM - 4:00 PM (BST)
  • Sunday: Closed

License

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

Acknowledgments

  • Tailwind CSS for the utility-first CSS framework
  • Flaticon.com for high-quality icons
  • LocalStorage API for client-side data persistence
  • Bangladeshi developer community for inspiration and support

BD Fashion - Bringing creativity to custom apparel since 2024.

QR Code Scan to visit our website

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors