{"repo":"hrutavmodha/e-commerce","free":true,"listed":false,"github":"https://github.com/hrutavmodha/e-commerce","clone":"git clone https://github.com/hrutavmodha/e-commerce.git","description":"An ECommerce website made using MERN stack","language":"JavaScript","stars":25,"topics":["e-commerce","full-stack-project","mern-stack","express-js","mongodb","mongoose","nodejs","open-source","reactjs","restful-api"],"license":"MIT","category":"ecommerce","readme_excerpt":"🛒 E-Commerce Web App A full-stack e-commerce platform built with the MERN stack. It supports role-based access control, image uploads, and dynamic product management for retailers and consumers. 🔐 User Roles - Retailer - Upload products with images - View and purchase other products - Consumer - Browse products - Add to cart and buy items 🚀 Key Features - JWT-based User Authentication - Role-Based Access Control (RBAC) - Image Uploads using Multer - Product Listings with Dynamic Rendering - Cart Functionality with Purchase Flow 🛠️ Tech Stack Area Technology ------ ------------ Frontend React.js, Nginx Backend Node.js, Express.js Database MongoDB Containerization Docker, Docker Compose Registries Docker Hub, GitHub Container Registry, GCP Artifact Registry Package Manager Support This project supports multiple package managers: - npm ( package-lock.json ) - yarn ( yarn.lock ) - pnpm ( lock.yaml ) 💻 Getting Started 1. Clone the repository 2. Install dependencies - using npm OR - using yarn OR - using pnpm 3. Setup a .env at root file with your own Mongo URI and JWT SECRET variables 4. Run both servers OR OR 🐳 Task 6: Docker Compose Orchestration The application is containerized as three services: - Frontend: React production build served by unprivileged Nginx - Backend: Node.js and Express API - Database: MongoDB with persistent storage Compose starts MongoDB first, waits for its health check, then starts the backend and waits for the backend /health check before starting","default_branch":null,"files":null,"tree":[],"storefront":"/r/hrutavmodha","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hrutavmodha/e-commerce/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}