An e-commerce store showcasing real-world online shopping features.
HER Cosmetics is a frontend e-commerce website originally built using React and Tailwind CSS, and later fully migrated into a scalable Next.js + TypeScript architecture.
This project started as a UI-heavy React application, but was then restructured to simulate a real-world production frontend system β focusing on scalability, maintainability, and modern Next.js engineering practices.
The goal was not just to build features, but to refactor and evolve a messy component-based project into a clean, structured, and scalable codebase similar to how real frontend teams work in production.
This project went through a full architectural upgrade:
- β€ Migrated from React SPA β Next.js App Router architecture
- β€ Refactored entire codebase into feature-based folder structure
- β€ Split client and server components for performance and scalability
- β€ Separated logic into reusable components, custom hooks, and context providers
- β€ Added TypeScript across the entire project for type safety and reliability
- β€ Added skeleton loading UI for product pages and cards to improve perceived performance
- β€ Implemented debounced search input to reduce unnecessary re-renders and improve efficiency
- β€ Used dynamic imports for code splitting (cart, product pages, heavy components)
- β€ Optimized images using Next.js Image component for lazy loading and responsiveness
- β€ Built toast notification system for add/remove cart actions
- β€ Improved product filtering and search rendering logic
Click to view v1 (React + Tailwind CSS version)
The original version of HER Cosmetics was built using React and Tailwind CSS with a basic frontend structure. The codebase was loosely organized, with repeated patterns across components and no proper structure or consistency. It was also not type-safe as TypeScript was not used.
This version primarily focused on UI implementation rather than scalable architecture or production-level structure.
π View V1 Repository
- ποΈ Product discovery with category-based browsing
- π Live product search with debounced input handling
- π Cart system with state management
- π³ Checkout flow UI
- π Authentication pages (Sign up / Sign in)
- π Brand and informational pages
- π± Fully responsive design across all devices
- β‘ Optimized UI with improved loading states and user feedback (skeletons + toasts)
Next.jsTypeScriptTailwind CSS
Homepage |
![]() Cosmetic's Collection |
![]() Fragrance Collection |
![]() Skin Care Collection |
![]() Featured Product |
![]() Discover Page |
![]() About the Brand |
![]() User Login |








