- Features
- Tech Stack
- Prerequisites
- Installation
- Running the Application
- Project Structure
- Available Scripts
- Key Dependencies
- Contributing
- License
- π 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
- β‘ 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
- π 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
- 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
Before you begin, ensure you have the following installed:
- Node.js (v18 or higher)
- npm (v9 or higher) or yarn
- Git
- Clone the repository
git clone https://github.com/javaadde/ecommerce-frontend-react.git
cd ecommerce-frontend-react- Install dependencies
npm installor if you're using yarn:
yarn install- Environment Setup
Create a .env file in the root directory and add your environment variables:
VITE_API_BASE_URL=your_api_url_hereStart the development server with hot-reload:
npm run devThe application will be available at http://localhost:5173
Build the application for production:
npm run buildPreview the production build locally:
npm run previewRun ESLint to check code quality:
npm run lintecommerce-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
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
| 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 |
- 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
- Vite: Next-generation frontend tooling
- ESLint: Code linting and quality checks
- @vitejs/plugin-react: React support for Vite
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Javaadde
- GitHub: @javaadde
- 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


