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.
- Key Features
- Technologies, Frameworks, and Libraries Used
- Scripts in package.json
- How It Works
- Why Use This Application?
- Deployment
- 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
- Headers:
- Font Weights:
- Headings:
font-semibold - Body:
font-normal
- Headings:
Tailwind CSS: Utility-first CSS framework for responsive and modern styling.
Framer Motion: Library for animations and transitions.
- useState and useEffect: For managing component state and side effects.
- localStorage: For persisting cart data across sessions.
ESLint: For enforcing coding standards and best practices.
- eslint-plugin-react-hooks: For ensuring proper usage of React hooks.
- PostCSS: For processing CSS with plugins like autoprefixer.
- Util: For polyfilling Node.js utilities in the browser.
npm run dev: Starts the development server using Vite.
npm run build: Builds the application for production.
npm run lint: Runs ESLint to check for code quality issues.
npm run preview: Previews the production build locally.
npm run test: Runs Jest tests.
npm run predeploy: Builds the application before deployment.npm run deploy: Deploys the application to GitHub Pages.
- Users can browse products, view product details, add items to the cart, apply coupon codes, and proceed to payment.
- The application is fully responsive, ensuring a seamless experience on both desktop and mobile devices.
- Cart updates dynamically using
localStorageand custom events (cartUpdated).
- Smooth animations for transitions, modals, and buttons enhance the user experience.
- Built with Tailwind CSS and Framer Motion for a sleek and professional look.
- Ensures usability across devices and for users with disabilities.
- Includes essential e-commerce features like cart management, coupon codes, and payment flow.
- Developed with Vite for fast builds and React for scalability.
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! π