{"id":28936354,"url":"https://github.com/hrutavmodha/e-commerce","last_synced_at":"2025-10-28T05:07:16.090Z","repository":{"id":293516687,"uuid":"984005685","full_name":"hrutavmodha/e-commerce","owner":"hrutavmodha","description":"An ECommerce website made using MERN stack","archived":false,"fork":false,"pushed_at":"2025-06-18T12:40:52.000Z","size":897,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-18T13:43:34.643Z","etag":null,"topics":["e-commerce","express-js","full-stack-project","mern-stack","mongodb","mongoose","nodejs","open-source","reactjs","restful-api","shopping-cart"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hrutavmodha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-15T08:48:55.000Z","updated_at":"2025-06-18T12:40:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"cfdab07d-05df-4b68-add2-5b6443113591","html_url":"https://github.com/hrutavmodha/e-commerce","commit_stats":null,"previous_names":["rutu-modha/e-commerce","hrutavmodha/e-commerce"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hrutavmodha/e-commerce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrutavmodha%2Fe-commerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrutavmodha%2Fe-commerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrutavmodha%2Fe-commerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrutavmodha%2Fe-commerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrutavmodha","download_url":"https://codeload.github.com/hrutavmodha/e-commerce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrutavmodha%2Fe-commerce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281386589,"owners_count":26492014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["e-commerce","express-js","full-stack-project","mern-stack","mongodb","mongoose","nodejs","open-source","reactjs","restful-api","shopping-cart"],"created_at":"2025-06-22T20:08:38.028Z","updated_at":"2025-10-28T05:07:16.083Z","avatar_url":"https://github.com/hrutavmodha.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛒 E-Commerce Web App\n\nA full-stack e-commerce platform built with the MERN stack.  \nIt supports role-based access control, image uploads, and dynamic product management for retailers and consumers.\n\n## 🔐 User Roles\n\n- **Retailer**\n  - Upload products with images\n  - View and purchase other products\n  \n- **Consumer**\n  - Browse products\n  - Add to cart and buy items\n\n## 🚀 Key Features\n\n- JWT-based User Authentication\n- Role-Based Access Control (RBAC)\n- Image Uploads using Multer\n- Product Listings with Dynamic Rendering\n- Cart Functionality with Purchase Flow\n\n## 🛠️ Tech Stack\n\n| Area      | Technology           |\n|------------|----------------------|\n| Frontend   | React.js             |\n| Backend    | Node.js, Express.js  |\n| Database   | MongoDB              |\n\n## Package Manager Support\n\nThis project supports multiple package managers:\n- npm (`package-lock.json`)\n- yarn (`yarn.lock`)\n- pnpm (`lock.yaml`)\n\n## 💻 Getting Started\n\n**1. Clone the repository** \n   ```Bash\n   git clone \"https://github.com/rutu-modha/e-commerce.git\"\ncd ./e-commerce\n```\n\n**2. Install dependencies**\n- **using npm**\n```Bash\nnpm install\ncd frontend\nnpm install\ncd ..\ncd backend\nnpm install\n```\n*OR*\n- **using yarn**\n```Bash\nyarn install\ncd frontend\nyarn install\ncd ..\ncd backend\nyarn install\n```\n*OR*\n- **using pnpm**\n```Bash\npnpm install\ncd frontend\npnpm install\ncd ..\ncd backend\npnpm install\n```\n**3. Setup a `.env` at root file with your own Mongo_URI and JWT_SECRET variables**\n\n**4. Run both servers**\n```Bash\ncd ..\nnpm run start\n```\n*OR*\n```Bash\ncd ..\nyarn run start\n```\n*OR*\n```Bash\ncd ..\npnpm run start\n```\n## ✅ Upcoming Features\n\n- OAuth with Google\n- Customer Support Page\n- Static About and Contact Pages\n\n## 📄 License\n\nThis project is licensed under the [MIT License](./LICENSE).\n\n\u003e If you liked this project, then please don't forget to give this repository a star. Your 1 star means a lot for me.\n\n## 👨‍💻 Author\n\n**Hrutav Modha**\n(_modhahrutav@gmail.com_)\n\n## 🤝 Contributions\n\nFeel free to fork, submit PRs, or open an issue. Let's build something cool together!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrutavmodha%2Fe-commerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrutavmodha%2Fe-commerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrutavmodha%2Fe-commerce/lists"}