A modern e-commerce frontend built with React, Vite, React Router, and Context API. The application provides product browsing, category filtering, cart management, inventory-aware purchasing, and product administration features.
- Product listing and detailed product views
- Category-based product filtering
- Shopping cart functionality
- Stock availability validation
- Add new products
- Update existing products
- Inventory tracking and management
- Global state management using Context API
- Client-side routing with React Router
- Responsive and user-friendly interface
- React
- Vite
- JavaScript (ES6+)
- React Router
- Context API
- CSS
src/
├── components/
│ ├── AddProduct.jsx
│ ├── Cart.jsx
│ ├── Home.jsx
│ ├── Navbar.jsx
│ ├── Product.jsx
│ ├── ProductDetails.jsx
│ └── UpdateProduct.jsx
├── Context/
│ └── Context.jsx
├── App.jsx
├── main.jsx
└── assets/
- Node.js
- npm
git clone https://github.com/abhinavkr26104/ecommerce-platform-frontend.git
cd ecommerce-platform-frontend
npm install
npm run devThe application will start on:
http://localhost:5173
- View all available products
- Add new products
- Update existing products
- Manage inventory and stock availability
- Browse products by category
- View product details
- Add products to cart
- Manage cart items
- Centralized application state using Context API
- Efficient product and cart data handling
- User Authentication & Authorization
- JWT Integration
- Wishlist Functionality
- Order Management
- Payment Gateway Integration
- Product Search & Sorting
- Admin Dashboard
- User Profile Management
- Dark Mode Support
Backend Repository:
https://github.com/abhinavkr26104/ecommerce-platform-backend
Abhinav Kumar Singh
ICPC Asia West Regionalist '25 | LeetCode Knight | Codeforces Specialist | 6★ Problem Solving (HackerRank)