This repository contains the source code for a full-featured e-commerce platform built with the MERN stack (MongoDB, Express, React, and Node.js) and using Cloudinary for image storage. The application allows users to browse, search, and purchase products, while providing an admin panel for managing inventory, orders, and customer data.
- Frontend: React, TanStack Query for data fetching and caching, and Tailwind CSS for responsive design
- Backend: Node.js, Express.js for REST API, MongoDB as the database, and Mongoose for data modeling
- Image Storage: Cloudinary for secure and scalable image hosting and management
- Data Fetching: TanStack Query for efficient, real-time data fetching and server state management
-
User Authentication and Authorization:
- Secure sign-up, login, and logout functionality using JWT-based authentication.
- Role-based access for users and admins.
-
Product Catalog and Search:
- Users can browse products by category, price, or other filters.
- Integrated search and filter options for an enhanced user experience.
-
Product Management:
- Admins can add, edit, and delete products via an admin dashboard.
- Product images are securely uploaded and stored using Cloudinary.
-
Shopping Cart and Checkout:
- Users can add items to their cart, update quantities, and proceed to checkout.
- Integration with payment gateway for secure payments.
-
Order Management:
- Users can view order history and track order statuses.
- Admins can view and manage orders, update statuses, and view customer details.
-
Responsive Design:
- The platform is optimized for both mobile and desktop experiences.