{"id":20668837,"url":"https://github.com/roy7077/e-commerce-website","last_synced_at":"2026-04-06T02:32:32.103Z","repository":{"id":248821021,"uuid":"829880717","full_name":"roy7077/E-commerce-Website","owner":"roy7077","description":"A full-featured e-commerce application built with the MERN (MongoDB, Express.js, React.js, Node.js) stack. It includes secure user authentication, product search, cart management, and order handling with refunds. The application is fully responsive, providing an optimal experience across all devices.","archived":false,"fork":false,"pushed_at":"2024-07-21T22:35:11.000Z","size":47689,"stargazers_count":2,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T14:21:39.493Z","etag":null,"topics":["css","ecommerce","ecommerce-website","expressjs","mongodb","mongodb-atlas","mongoose","node-js","razorpay-payment","razorpay-payment-gateway","react","reactjs","redux-toolkit","responsive-design"],"latest_commit_sha":null,"homepage":"https://payment-gateway-lilac.vercel.app","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/roy7077.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-07-17T07:17:35.000Z","updated_at":"2025-07-28T19:19:51.000Z","dependencies_parsed_at":"2024-07-21T22:40:57.767Z","dependency_job_id":null,"html_url":"https://github.com/roy7077/E-commerce-Website","commit_stats":null,"previous_names":["roy7077/payment-gateway"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roy7077/E-commerce-Website","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roy7077%2FE-commerce-Website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roy7077%2FE-commerce-Website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roy7077%2FE-commerce-Website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roy7077%2FE-commerce-Website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roy7077","download_url":"https://codeload.github.com/roy7077/E-commerce-Website/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roy7077%2FE-commerce-Website/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31457607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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":["css","ecommerce","ecommerce-website","expressjs","mongodb","mongodb-atlas","mongoose","node-js","razorpay-payment","razorpay-payment-gateway","react","reactjs","redux-toolkit","responsive-design"],"created_at":"2024-11-16T20:11:55.748Z","updated_at":"2026-04-06T02:32:32.069Z","avatar_url":"https://github.com/roy7077.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"E-Commerce Web Application\n==========================\n\nThis is an e-commerce web application built with the MERN (MongoDB, Express.js, React.js, Node.js) stack. The application includes features like user authentication, product search, cart management, and handling of ordered and refunded products.\n\nFeatures\n--------\n\n*   **User Authentication**: Secure login and signup functionality.\n    \n*   **Product Search**: Search products and view product details.\n    \n*   **Cart Management**: Add and remove products from the cart.\n    \n*   **Order Management**: View ordered and refunded products.\n    \n*   **Responsive Design**: Fully responsive layout for all devices.\n    \n\nTech Stack\n----------\n\n*   **Frontend**: React.js\n    \n*   **Backend**: Node.js, Express.js , Razorpay\n    \n*   **Database**: MongoDB\n    \n*   **Styling**: CSS, CSS Modules\n    \n\nGetting Started\n---------------\n\n### Prerequisites\n\n*   Node.js\n    \n*   npm or yarn\n    \n*   MongoDB\n    \n\n### Installation\n\n1.  bashCopy codegit clone https://github.com/roy7077/payment-gateway.gitcd ecommerce-app\n    \n2.  bashCopy codecd servernpm install\n    \n3.  bashCopy codecd ../clientnpm install\n    \n\n### Environment Variables\n\nCreate a .env file in the server directory and add the following environment variables:\n\n```\nMONGO_URI=your_mongodb_connection_string  \nJWT_SECRET=your_jwt_secret  \nRAZORPAY_KEY_ID=your_razorpay_key_id  \nRAZORPAY_KEY_SECRET=your_razorpay_key_secret   `\n```\n### Running the Application\n\n1.  bashCopy codecd server npm start\n    \n2.  bashCopy codecd ../client npm start\n    \nAPI Endpoints\n-------------\n\n### Authentication\n\n*   **POST** /api/v1/signup - Register a new user\n    \n*   **POST** /api/v1/login - Authenticate user and get token\n    \n\n### Payment\n\n*   **GET** /api/v1/getkeyid - Get Razorpay Key ID\n    \n*   **POST** /api/v1/capturepayment - Capture payment\n    \n*   **POST** /api/v1/refundpayment - Refund payment\n    \n*   **GET** /api/v1/fetchallpayments - Fetch all payments\n    \n*   **GET** /api/v1/getpaymentdetails/:id - Get payment details by ID\n    \n*   **GET** /api/v1/fetchcarddetails - Fetch card details\n    \n*   **POST** /api/v1/paymentverification - Verify payment\n\nPOSTMAN LINK - https://www.postman.com/roy707/workspace/shop-cart/collection/32632569-0177389f-3ffc-4d24-a8bb-9c869782bc67?action=share\u0026creator=32632569\n\n### Cart Management\n\n*   **POST** /api/v1/addtocart - Add product to cart\n    \n*   **DELETE** /api/v1/removefromcart - Remove product from cart\n    \n*   **POST** /api/v1/showcartitems - Show all cart items\n    \n\n### Order Management\n\n*   **POST** /api/v1/orderedproducts - Show all ordered products\n    \n*   **POST** /api/v1/refundedproducts - Show all refunded products\n\n### DB Schema\n\u003cimg width=\"928\" alt=\"Ecommerce_DB\" src=\"https://github.com/user-attachments/assets/c8e92ab8-3088-4f8a-902e-35a5d62f8fa7\"\u003e\n\nContribution\n------------\n\nFeel free to submit issues or pull requests if you have suggestions or improvements.\n\nLicense\n-------\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froy7077%2Fe-commerce-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froy7077%2Fe-commerce-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froy7077%2Fe-commerce-website/lists"}