{"id":15154297,"url":"https://github.com/faanid/mern-ecommerce","last_synced_at":"2026-02-18T23:01:02.330Z","repository":{"id":247642193,"uuid":"801110182","full_name":"faanid/mern-ecommerce","owner":"faanid","description":"Javascript - Reactjs- Redux - Rest API - MongoDB - Expressjs - backend and frontend","archived":false,"fork":false,"pushed_at":"2025-03-31T06:43:32.000Z","size":2566,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T18:54:58.129Z","etag":null,"topics":["api","bakcend","express","frontend","javascript","mongodb-database","reactjs","rest-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faanid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-15T15:57:49.000Z","updated_at":"2025-03-31T06:43:28.000Z","dependencies_parsed_at":"2024-07-25T03:25:46.037Z","dependency_job_id":"e72466de-ebbc-4003-a2d9-131c742eee01","html_url":"https://github.com/faanid/mern-ecommerce","commit_stats":{"total_commits":43,"total_committers":1,"mean_commits":43.0,"dds":0.0,"last_synced_commit":"d7755e2e6380057c99fe597a401fb9cdfcbad86b"},"previous_names":["faanid/mern-ecommerce"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/faanid/mern-ecommerce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faanid%2Fmern-ecommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faanid%2Fmern-ecommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faanid%2Fmern-ecommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faanid%2Fmern-ecommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faanid","download_url":"https://codeload.github.com/faanid/mern-ecommerce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faanid%2Fmern-ecommerce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29597853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T22:25:43.180Z","status":"ssl_error","status_checked_at":"2026-02-18T22:25:42.766Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","bakcend","express","frontend","javascript","mongodb-database","reactjs","rest-api"],"created_at":"2024-09-26T17:21:03.669Z","updated_at":"2026-02-18T23:01:02.307Z","avatar_url":"https://github.com/faanid.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MERN E-commerce\n\n## Overview\n\nThis is a full-stack E-commerce application built with the MERN stack (MongoDB, Express.js, React, and Node.js). It provides a platform where users can browse products, make purchases, and manage their accounts, while admins and merchants can manage product listings and track orders.\n\n## Features\n\n- **User Management:** Register, login, and manage user profiles.\n- **Product Management:** View product listings with categories and search functionality.\n- **Shopping Cart:** Add products to the cart and proceed with the checkout.\n- **Payment Integration:** Secure payment gateway using Stripe/PayPal.\n- **Order Management:** Track orders and view order history.\n- **Admin Dashboard:** Manage products, categories, users, and orders.\n- **Responsive UI:** Optimized for both desktop and mobile devices.\n\n## Tech Stack\n\n- **Frontend:** React.js, Redux for state management, React Router for navigation.\n- **Backend:** Node.js, Express.js for building REST APIs, Mongoose for MongoDB interactions.\n- **Database:** MongoDB for storing user, product, and order information.\n- **Authentication:** JSON Web Tokens (JWT) for secure authentication.\n- **Payment Gateway:** Stripe/PayPal for processing payments.\n\n## Installation\n\n### Prerequisites\n\n- Node.js and npm installed.\n- MongoDB installed and running.\n\n### Steps to Install\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/faanid/mern-ecommerce.git\n   cd mern-ecommerce\n   ```\n2. **Install backend dependencies:**\n   ```bash\n   npm install\n   ```\n3. **Install frontend dependencies:**\n   ```bash\n   cd client\n   npm install\n   ```\n4. **Setup environment variables:**\n   \n   - Create a .env file in the root directory for backend configurations.\n   - Add the following variables:\n     \n   ```bash\n   MONGO_URI=your_mongoDB_connection_string\n   JWT_SECRET=your_jwt_secret\n   STRIPE_SECRET_KEY=your_stripe_secret_key\n   ```\n   - Create another .env file inside the client directory for frontend configurations:\n    \n   ```bash\n   REACT_APP_API_URL=http://localhost:5000/api\n   ```\n   5. **Run the application:**\n      \n   ```bash\n   npm run dev\n   ```\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaanid%2Fmern-ecommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaanid%2Fmern-ecommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaanid%2Fmern-ecommerce/lists"}