Welcome to Byte Bazaar โ a modern, scalable, and secure full-stack e-commerce platform built with React, Node.js (Express), and MongoDB. This project delivers a complete, real-world online shopping experience including ๐๏ธ product browsing, ๐ cart management, ๐งพ order tracking, โ๏ธ reviews, and ๐ secure authentication โ with seller-specific dashboards and controls.
๐ ๏ธ Tech Stack
- Frontend: React, Vite, Redux Toolkit, Shadcn UI, Lucide Icons
- Backend: Node.js, Express.js, MongoDB, dotenv, Multer, Helmet, HPP
- Authentication: JWT (Access & Refresh Tokens), 2FA Support, RBAC
- Logging: Morgan, Winston
๐ Features
๐ฆ Backend (Node.js + Express + MongoDB)
- ๐ JWT-based Authentication & Authorization
- ๐๏ธ Product & Category Management
- ๐ Shopping Cart & Orders API
- ๐ค File Upload Support (Multer)
- ๐ฆบ Security Middlewares: Helmet, HPP, Rate Limiting
- ๐ Request Logging (morgan + winston)
- โ๏ธ Global Error Handling
- ๐งโ๐ป Role-based Access Control (Seller / Customer)
- ๐๏ธ Password Reset Middleware
- ๐ฆ Environment-based Config (dotenv)
๐จ Frontend (React + Vite)
- ๐ฑ Responsive, Modular UI
- ๐งโ๐ผ Seller Dashboard & Product Management
- ๐ Cart, Orders, Reviews, Address Management
- ๐ท๏ธ Category-based Filtering & Search
- ๐ Protected Routes & Role-specific Views
- ๐๏ธ Reusable UI Components (Shadcn UI, Lucide Icons)
- ๐ฆ State Management via Redux Toolkit
- โก Vite for super-fast builds
๐ Usage Highlights
-
๐งโ๐ผ Sellers:
- List products
- Manage inventory
- Track orders
- Update product details
- Seller-specific dashboard
-
๐ค Customers:
- Browse products
- Filter by category
- Add to cart
- Checkout orders
- Track orders
- Manage profile, addresses, and reviews
-
๐ Security:
- Password hashing
- JWT-based Access & Refresh Tokens
- API rate limiting
- Secure role-protected routes
- Secure file uploads