{"id":25024020,"url":"https://github.com/anashany2193/mern-ecommerce-app-backend","last_synced_at":"2026-04-12T01:36:43.571Z","repository":{"id":269361759,"uuid":"907172228","full_name":"AnasHany2193/mern-eCommerce-app-backend","owner":"AnasHany2193","description":"MERN eCommerce App Backend 🛍️ A robust backend for an eCommerce platform, powered by Node.js, Express.js, MongoDB, and integrated with Stripe and Cloudinary for payments and image management. Includes user authentication, product and order management, and API endpoints for seamless frontend integration.","archived":false,"fork":false,"pushed_at":"2024-12-23T02:06:22.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T15:46:38.743Z","etag":null,"topics":["bcryptjs","cloudinary","concurrently","cors","csurf","express","expressjs","mongodb","multer","nodejs","rate-limiter","stripe"],"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/AnasHany2193.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-12-23T01:59:44.000Z","updated_at":"2024-12-23T02:09:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"9724b508-13b9-475b-8289-964cc4176e7e","html_url":"https://github.com/AnasHany2193/mern-eCommerce-app-backend","commit_stats":null,"previous_names":["anashany2193/mern-ecommerce-app-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2Fmern-eCommerce-app-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2Fmern-eCommerce-app-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2Fmern-eCommerce-app-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2Fmern-eCommerce-app-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnasHany2193","download_url":"https://codeload.github.com/AnasHany2193/mern-eCommerce-app-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246326795,"owners_count":20759439,"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","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":["bcryptjs","cloudinary","concurrently","cors","csurf","express","expressjs","mongodb","multer","nodejs","rate-limiter","stripe"],"created_at":"2025-02-05T15:38:45.549Z","updated_at":"2025-10-30T23:12:40.085Z","avatar_url":"https://github.com/AnasHany2193.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛍️ MERN eCommerce App Backend\n\nWelcome to the backend of the MERN eCommerce application! This project serves as the server-side component of a full-stack eCommerce platform, built with MongoDB, Express.js, Node.js, and integrates with various services to provide a comprehensive shopping experience.\n\n## 🚀 Features\n\n- **User Authentication \u0026 Authorization**: Secure login and registration using JWT.\n- **Product Management**: CRUD operations for products.\n- **Order Processing**: Manage customer orders efficiently.\n- **Payment Integration**: Supports payment processing with Stripe.\n- **Image Uploads**: Handles product images using Cloudinary.\n\n## 🛠️ Installation Guide\n\nFollow these steps to set up the project locally:\n\n1. **Clone the Repository**:\n\n   ```bash\n   git clone https://github.com/AnasHany2193/mern-eCommerce-app-backend.git\n   cd mern-eCommerce-app-backend\n   ```\n\n2. **Install Dependencies**:\n\n   Ensure you have [Node.js](https://nodejs.org/) installed. Then, run:\n\n   ```bash\n   npm install\n   ```\n\n3. **Environment Variables**:\n\n   Create a `.env` file in the root directory and add the following variables:\n\n   ```env\n   MONGODB_CONNECTION_STRING=your_mongodb_connection_string\n   appName=YourAppName\n   PORT=5000\n   JWT_SECRET=your_jwt_secret\n   BCRYPT_SALT_ROUNDS=10\n   CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name\n   CLOUDINARY_API_KEY=your_cloudinary_api_key\n   CLOUDINARY_API_SECRET=your_cloudinary_api_secret\n   CLOUDINARY_URL=your_cloudinary_url\n   NODE_ENV=development\n   FRONTEND_URL=http://localhost:3000\n   STRIPE_SECRET_KEY=your_stripe_secret_key\n   STRIPE_WEBHOOK_SECRET=your_stripe_webhook_secret\n   ```\n\n   Replace the placeholder values with your actual configuration details.\n\n4. **Start the Server**:\n\n   ```bash\n   npm start\n   ```\n\n   The server should now be running on `http://localhost:5000`.\n\n## 📄 Environment Variables Description\n\n- `MONGODB_CONNECTION_STRING`: Connection string for your MongoDB database.\n- `appName`: Name of your application.\n- `PORT`: Port number on which the server runs.\n- `JWT_SECRET`: Secret key for signing JSON Web Tokens.\n- `BCRYPT_SALT_ROUNDS`: Number of salt rounds for bcrypt password hashing.\n- `CLOUDINARY_CLOUD_NAME`: Your Cloudinary cloud name for image storage.\n- `CLOUDINARY_API_KEY`: API key for Cloudinary.\n- `CLOUDINARY_API_SECRET`: API secret for Cloudinary.\n- `CLOUDINARY_URL`: Cloudinary URL for configuration.\n- `NODE_ENV`: Environment mode (`development` or `production`).\n- `FRONTEND_URL`: URL of the frontend application.\n- `STRIPE_SECRET_KEY`: Secret key for Stripe payment processing.\n- `STRIPE_WEBHOOK_SECRET`: Webhook secret for Stripe to validate events.\n\n## 👤 About the Author\n\nDeveloped by [Anas Hany](https://www.linkedin.com/in/anashany219/). Feel free to connect!\n\n---\n\nHappy coding! 🎉\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanashany2193%2Fmern-ecommerce-app-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanashany2193%2Fmern-ecommerce-app-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanashany2193%2Fmern-ecommerce-app-backend/lists"}