{"id":22941624,"url":"https://github.com/wardvisual/mern-ecommerce","last_synced_at":"2025-04-01T20:49:12.977Z","repository":{"id":113517969,"uuid":"374243797","full_name":"wardvisual/mern-ecommerce","owner":"wardvisual","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-06T01:29:33.000Z","size":10396,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T13:44:37.551Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/wardvisual.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-06-06T01:27:31.000Z","updated_at":"2022-04-06T05:19:36.000Z","dependencies_parsed_at":"2023-03-13T13:19:03.509Z","dependency_job_id":null,"html_url":"https://github.com/wardvisual/mern-ecommerce","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wardvisual%2Fmern-ecommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wardvisual%2Fmern-ecommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wardvisual%2Fmern-ecommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wardvisual%2Fmern-ecommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wardvisual","download_url":"https://codeload.github.com/wardvisual/mern-ecommerce/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709914,"owners_count":20821298,"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":[],"created_at":"2024-12-14T13:44:32.301Z","updated_at":"2025-04-01T20:49:12.957Z","avatar_url":"https://github.com/wardvisual.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MERN Ecommerce\n\n## Description\n\nAn ecommerce store built with MERN stack, and utilizes third party API's. This ecommerce store enable three main different flows or implementations:\n\n1. Buyers browse the store categories, products and brands\n2. Sellers or Merchants manage their own brand component\n3. Admins manage and control the entire store components \n\n\n* features:\n  * Node provides the backend environment for this application\n  * Express middleware is used to handle requests, routes\n  * Mongoose schemas to model the application data\n  * React for displaying UI components\n  * Redux to manage application's state\n  * Redux Thunk middleware to handle asynchronous redux actions\n\n\n## What's Next \n\n  * Add a payment method solution to enable checkout and collecting payments\n  * Associate each Merchant to a payment account \n\n## Demo\n\nThis application is deployed on Heroku. Please check it out :smile: [here](https://mern-store-80202.herokuapp.com/).\n\n\n## Install\n\nSome basic Git commands are:\n\n```\n$ git clone https://github.com/mohamedsamara/mern-ecommerce.git\n$ cd project\n$ npm install\n```\n\n## Setup\n\n```\n Create .env file that include:\n\n  * MONGO_URI \u0026 JWT_SECRET\n  * PORT \u0026 BASE_SERVER_URL \u0026 BASE_API_URL \u0026 BASE_CLIENT_URL\n  * MAILCHIMP_KEY \u0026 MAILCHIMP_LIST_KEY =\u003e Mailchimp configuration\n  * MAILGUN_KEY \u0026 MAILGUN_DOMAIN \u0026 MAILGUN_EMAIL_SENDER =\u003e Mailgun configuration\n  * GOOGLE_CLIENT_ID \u0026 GOOGLE_CLIENT_SECRET \u0026 GOOGLE_CALLBACK_URL =\u003e Google Auth configuration\n  * FACEBOOK_CLIENT_ID \u0026 FACEBOOK_CLIENT_SECRET \u0026 FACEBOOK_CALLBACK_URL =\u003e Facebook Auth configuration\n  * AWS_ACCESS_KEY_ID \u0026 AWS_SECRET_ACCESS_KEY \u0026 AWS_REGION \u0026 AWS_BUCKET_NAME =\u003e AWS configuration\n```\n\n## Heroku Deployment\n\n```\n\u003e Create a Procfile in the root directory of your application with the following command **web: npm run start:production**\n```\n\n\n## Simple build for production\n\n```\n$ npm run production\n```\n\n## Run the application for development\n\n```\n$ npm start\n```\n\n## Run the application for production\n\n```\n$ npm run start:production\n```\n\n## Languages \u0026 tools\n\n- [Node](https://nodejs.org/en/)\n\n- [Express](https://expressjs.com/)\n\n- [Mongoose](https://mongoosejs.com/)\n\n- [React](https://reactjs.org/)\n\n- [Webpack](https://webpack.js.org/)\n\n\n### Code Formatter\n\n- Add a `.vscode` directory\n- Create a file `settings.json` inside `.vscode`\n- Install Prettier - Code formatter in VSCode\n- Add the following snippet:  \n\n```json\n\n    {\n      \"editor.formatOnSave\": true,\n      \"prettier.singleQuote\": true,\n      \"prettier.arrowParens\": \"avoid\",\n      \"prettier.jsxSingleQuote\": true,\n      \"prettier.trailingComma\": \"none\",\n      \"javascript.preferences.quoteStyle\": \"single\",\n    }\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwardvisual%2Fmern-ecommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwardvisual%2Fmern-ecommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwardvisual%2Fmern-ecommerce/lists"}