Skip to content

javaadde/trendzy.frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

E-Commerce Frontend React

A modern, responsive e-commerce frontend application built with React, Vite, and Tailwind CSS.

React Vite TailwindCSS License

πŸ“Έ Screenshots

πŸ’» Desktop View

Desktop View

πŸ“± Mobile View

Mobile View

πŸ“Ÿ Tablet View

Tablet View

πŸ“‹ Table of Contents

✨ Features

User Interface

  • πŸ›’ Modern E-commerce Design - Clean, elegant interface inspired by premium fashion brands
  • πŸ“± Fully Responsive - Seamless experience across mobile, tablet, and desktop devices
  • 🎨 Hero Sections - Eye-catching hero banners with "Timeless Elegance" branding
  • πŸ” Intuitive Navigation - Easy-to-use navigation with Products, Categories, and Customer Support sections
  • πŸ” Mobile-First - Hamburger menu for mobile devices with smooth interactions

Technical Features

  • ⚑ Lightning-Fast Performance - Powered by Vite for instant hot module replacement
  • πŸ“ Form Validation - Robust form handling with React Hook Form and Yup schemas
  • πŸ”„ Client-Side Routing - Smooth navigation with React Router DOM
  • 🎯 API Integration - Type-safe API calls with Axios
  • 🎨 Lucide Icons - Beautiful, consistent iconography throughout the app
  • 🎨 Tailwind CSS - Utility-first styling for rapid UI development

User Experience

  • πŸ” Authentication - Sign In and Sign Up functionality
  • πŸ›οΈ Product Collections - Browse curated collections with "Explore Collection" feature
  • πŸ“– Lookbook - "View Lookbook" feature for style inspiration
  • πŸ’Ό Premium Branding - Sophisticated design emphasizing quality and comfort

πŸ›  Tech Stack

  • Framework: React 19.1.1
  • Build Tool: Vite 7.1.6
  • Styling: Tailwind CSS 4.1.13
  • Routing: React Router DOM 7.9.1
  • Form Management: React Hook Form 7.63.0
  • Validation: Yup 1.7.0
  • HTTP Client: Axios 1.12.2
  • Icons: Lucide React 0.544.0

πŸ“¦ Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (v18 or higher)
  • npm (v9 or higher) or yarn
  • Git

πŸš€ Installation

  1. Clone the repository
git clone https://github.com/javaadde/ecommerce-frontend-react.git
cd ecommerce-frontend-react
  1. Install dependencies
npm install

or if you're using yarn:

yarn install
  1. Environment Setup

Create a .env file in the root directory and add your environment variables:

VITE_API_BASE_URL=your_api_url_here

πŸƒ Running the Application

Development Mode

Start the development server with hot-reload:

npm run dev

The application will be available at http://localhost:5173

Production Build

Build the application for production:

npm run build

Preview Production Build

Preview the production build locally:

npm run preview

Linting

Run ESLint to check code quality:

npm run lint

πŸ“ Project Structure

ecommerce-frontend-react/
β”œβ”€β”€ public/              # Static assets
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/         # Images, fonts, etc.
β”‚   β”œβ”€β”€ components/     # Reusable components
β”‚   β”‚   β”œβ”€β”€ Header/    # Navigation header component
β”‚   β”‚   β”œβ”€β”€ Hero/      # Hero banner component
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ pages/          # Page components
β”‚   β”‚   β”œβ”€β”€ Home/      # Landing page
β”‚   β”‚   β”œβ”€β”€ Products/  # Products listing
β”‚   β”‚   β”œβ”€β”€ Auth/      # Sign In / Sign Up
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ hooks/          # Custom React hooks
β”‚   β”œβ”€β”€ services/       # API services
β”‚   β”œβ”€β”€ utils/          # Utility functions
β”‚   β”œβ”€β”€ App.jsx         # Main App component
β”‚   └── main.jsx        # Application entry point
β”œβ”€β”€ .eslintrc.cjs       # ESLint configuration
β”œβ”€β”€ index.html          # HTML template
β”œβ”€β”€ package.json        # Project dependencies
β”œβ”€β”€ tailwind.config.js  # Tailwind configuration
└── vite.config.js      # Vite configuration

🎨 Design System

The application follows a consistent design language:

  • Color Palette: Neutral tones with black accents for premium feel
  • Typography: Clean, modern fonts with "TIMELESS ELEGANCE" branding
  • Layout: Spacious, minimalist design with focus on product imagery
  • Components: Reusable button styles (primary black, secondary outlined)
  • Responsive Breakpoints: Mobile-first approach with tablet and desktop variants

πŸ“œ Available Scripts

Script Description
npm run dev Start development server
npm run build Build for production
npm run preview Preview production build
npm run lint Run ESLint

πŸ”‘ Key Dependencies

Core Dependencies

  • React & React DOM: UI library for building user interfaces
  • React Router DOM: Declarative routing for React applications
  • Axios: Promise-based HTTP client for API requests
  • React Hook Form: Performant, flexible form validation
  • Yup: Schema validation for form inputs
  • Tailwind CSS: Utility-first CSS framework
  • Lucide React: Beautiful & consistent icon toolkit
  • Object to FormData: Convert JavaScript objects to FormData

Dev Dependencies

  • Vite: Next-generation frontend tooling
  • ESLint: Code linting and quality checks
  • @vitejs/plugin-react: React support for Vite

🀝 Contributing

Contributions are welcome! Please follow these steps:

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

πŸ“ License

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

πŸ‘¨β€πŸ’» Author

Javaadde

πŸ™ Acknowledgments

  • React team for the amazing framework
  • Vite team for the blazing-fast build tool
  • Tailwind CSS for the utility-first CSS framework
  • All contributors who help improve this project

Made with ❀️ by Javaadde

About

Trendzy is a modern fashion e-commerce frontend designed to deliver a clean, elegant, and responsive shopping experience. It features intuitive navigation, curated product collections, and authentication for users, all wrapped in a premium fashion-inspired interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors