Skip to content

KarthickRamAlagar/Shop-Zone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

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

Repository files navigation

Shop Zone

Shop Zone is a modern, responsive e-commerce application built with cutting-edge technologies to provide a seamless shopping experience. Users can browse products, view details, manage their cart, apply coupon codes, and proceed to payment with ease.


Table of Contents


Key Features

🎨 Modern Design System:

  • Color Palette:
    • Primary: Indigo (#1E40AF) for trust and professionalism.
    • Secondary: Amber (#F59E0B) for highlighting elements like buttons.
    • Tertiary: Emerald (#10B981) for success indicators (e.g., coupon applied).
    • Background: Gray (#F9FAFB) for subtle page backgrounds.
    • Text: Gray (#111827 for primary text, #6B7280 for secondary text).
  • Typography:
    • Font Family: Inter, sans-serif (modern and clean).
    • Font Sizes:
      • Headers: text-2xl, text-3xl
      • Subheaders: text-xl
      • Body: text-base
      • Buttons: text-sm, text-base
    • Font Weights:
      • Headings: font-semibold
      • Body: font-normal

Technologies, Frameworks, and Libraries Used

πŸ–₯️ Frontend Framework:

  • React React: Core framework for building the UI.

🎨 Styling:

  • Tailwind CSS Tailwind CSS: Utility-first CSS framework for responsive and modern styling.
  • Framer Motion Framer Motion: Library for animations and transitions.

🌐 Routing:

  • React Router React Router DOM: For navigation between pages (e.g., Product List, Product Detail, Cart).

πŸ—‚οΈ State Management:

  • useState and useEffect: For managing component state and side effects.
  • localStorage: For persisting cart data across sessions.

πŸ”— HTTP Requests:

  • Axios Axios: For making API calls (if needed for dynamic data fetching).

⚑ Build Tool:

  • Vite Vite: Fast build tool for modern web development.

πŸ› οΈ Linting and Code Quality:

  • ESLint ESLint: For enforcing coding standards and best practices.
  • eslint-plugin-react-hooks: For ensuring proper usage of React hooks.

🎨 Icons:

  • Heroicons Heroicons: For modern and customizable SVG icons.

πŸš€ Deployment:

  • GitHub Pages GitHub Pages: For hosting the application.
  • gh-pages: For automating deployment to GitHub Pages.

πŸ› οΈ Utilities:

  • PostCSS: For processing CSS with plugins like autoprefixer.
  • Util: For polyfilling Node.js utilities in the browser.

Scripts in package.json

πŸ› οΈ Development:

  • npm run dev: Starts the development server using Vite.

πŸ—οΈ Build:

  • npm run build: Builds the application for production.

🧹 Linting:

  • npm run lint: Runs ESLint to check for code quality issues.

πŸ” Preview:

  • npm run preview: Previews the production build locally.

πŸ§ͺ Testing:

  • npm run test: Runs Jest tests.

πŸš€ Deployment:

  • npm run predeploy: Builds the application before deployment.
  • npm run deploy: Deploys the application to GitHub Pages.

How It Works

πŸ›’ User Flow:

  • Users can browse products, view product details, add items to the cart, apply coupon codes, and proceed to payment.

πŸ“± Responsive Design:

  • The application is fully responsive, ensuring a seamless experience on both desktop and mobile devices.

πŸ”„ Dynamic Updates:

  • Cart updates dynamically using localStorage and custom events (cartUpdated).

πŸŽ₯ Animations:

  • Smooth animations for transitions, modals, and buttons enhance the user experience.

Why Use This Application?

✨ Modern Design:

  • Built with Tailwind CSS and Framer Motion for a sleek and professional look.

πŸ“± Responsive and Accessible:

  • Ensures usability across devices and for users with disabilities.

πŸ›οΈ Feature-Rich:

  • Includes essential e-commerce features like cart management, coupon codes, and payment flow.

⚑ Fast and Scalable:

  • Developed with Vite for fast builds and React for scalability.

Deployment

The application is deployed on GitHub Pages and can be accessed at: Shop Zone Live Demo


Feel free to contribute to this project or report any issues. Happy coding! πŸš€

About

ShopZone is a modern, responsive e-commerce frontend application built using React and styled with Tailwind CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors