Deployed Live Demo-> https://bag-it-ecommerce.netlify.app
React + TypeScript E-Commerce App with Tailwind, React Router and Redux
E-Commerce App
Overview
This is a modern e-commerce web application that allows users to authenticate, browse product categories, explore products, and view detailed product information.
The app uses protected routes to restrict access, Context API for global state management, and localStorage to persist user sessions and preferences.
Features
• Login with email & password (with validation)
• Simulated authentication using API
• Protected routes (only login page is public)
• Browse product categories
• View products under each category
• Product details page
• Global state management using Context API
• Data persistence with localStorage
• Logout functionality
• Custom hook for data fetching
• Dark/Light mode toggle
Built With
• React (useState, useEffect, Context API)
• TypeScript
• Tailwind CSS
• React Router
• localStorage API