Welcome to Shop Hub, a sleek and modern single-page e-commerce application built for the Qtec Solution Limited Junior Frontend Developer assessment. Crafted with Vite, React, TypeScript, Tailwind CSS, and shadcn-ui, Shop Hub delivers a responsive, accessible, and user-friendly shopping experience with features like product listings, detailed views, cart management, and a seamless checkout modal.
- Live Demo: https://shop-hub-eosin.vercel.app/
- GitHub Repository: https://github.com/SIFAT5673/Shop-Hub
Shop Hub is designed to meet the Qtec assessment requirements while showcasing modern frontend development practices:
- Product Listings: Browse a dynamic grid of products with images, names, and prices, powered by mock data.
- Detailed Product Views: Dive into rich product details with descriptions, pricing, and add-to-cart functionality.
- Cart Management: Add, remove, and update items in the cart with real-time total calculations.
- Checkout Modal: A responsive modal triggered by the cart's "Checkout" button, featuring a form with fields for Name, Email, Address, and a Submit button to simulate order placement, as specified in the assessment.
- Responsive Design: Optimized for all devicesβdesktop, tablet, and mobileβusing Tailwind CSS.
- Accessibility: Built with ARIA attributes and keyboard navigation for an inclusive experience.
- Vite: Lightning-fast build tool for a streamlined development experience.
- React: Dynamic and reusable UI components for a seamless user interface.
- TypeScript: Type-safe development for robust and maintainable code.
- Tailwind CSS: Utility-first CSS framework for responsive and modern styling.
- shadcn-ui: Customizable UI components for a polished and professional look.
Get Shop Hub running locally in just a few steps:
- Clone the Repository:
git clone https://github.com/SIFAT5673/Shop-Hub.git
- Navigate to the Project Directory:
cd Shop-Hub - Install Dependencies:
npm install
- Start the Development Server:
npm run dev
- Open your browser and visit
http://localhost:5173to explore Shop Hub!
Shop-Hub/
βββ public/ # Static assets (e.g., images)
βββ src/ # Main source code
β βββ assets/ # Images and other assets
β βββ components/ # Reusable React components (e.g., ProductCard, CheckoutModal)
β βββ pages/ # Page components (e.g., Home, ProductDetail)
β βββ styles/ # Tailwind CSS configuration and custom styles
β βββ data/ # Mock product data
β βββ App.tsx # Main application component
β βββ main.tsx # Entry point
βββ screenshots/ # Screenshots for documentation
βββ README.md # Project documentation
βββ package.json # Dependencies and scripts
| Home Page |
|---|
| Checkout |
|---|
Note: Screenshots are available in the screenshots folder of the repository.
This project was meticulously crafted to meet the requirements outlined in the Qtec Solution Limited Junior Frontend Developer assessment (Task Document):
- Checkout Functionality: A modal form appears when the "Checkout" button is clicked, featuring fields for Name, Email, Address, and a Submit button to simulate order placement without an API.
- Responsive Design: Fully optimized for all screen sizes using Tailwind CSS.
- Modern Tech Stack: Leverages Vite, React, TypeScript, Tailwind CSS, and shadcn-ui for a performant and scalable application.
- Accessibility: Includes ARIA attributes and keyboard navigation to ensure inclusivity.
- Design Focus: Emphasizes a clean, modern UI with intuitive navigation, aligning with the assessment's design requirements.
- Challenge: Building a responsive and accessible checkout modal.
Solution: Utilized Tailwind CSS for responsive styling and integrated ARIA attributes with shadcn-ui components to ensure accessibility. - Challenge: Efficiently managing cart state across components.
Solution: Implemented React Context API for global state management, ensuring real-time updates and a smooth user experience. - Challenge: Balancing performance and feature-rich functionality.
Solution: Leveraged Viteβs fast build system and TypeScriptβs type safety to optimize development and runtime performance.
Shop Hub is more than just an assessment projectβitβs a showcase of modern frontend development principles, combining a robust tech stack, user-centric design, and attention to detail. It reflects my passion for creating intuitive, accessible, and visually appealing web applications.
For any questions or feedback, feel free to reach out:
- Email: [email protected]
- Website: portfolio-sifatulhuq.vercel.app
- Qtec Solution Limited Contact: [email protected]
- Website: www.QtecSolution.com
Thank you for reviewing my submission! Iβm excited about the opportunity to contribute to Qtec Solution Limited as a Junior Frontend Developer.