{"id":18688535,"url":"https://github.com/mian-ali/amazonashop","last_synced_at":"2025-10-05T12:12:01.946Z","repository":{"id":38818128,"uuid":"455155749","full_name":"mian-ali/AmazonaShop","owner":"mian-ali","description":"Build Ecommerce Like Amazon By MERN Stack","archived":false,"fork":false,"pushed_at":"2025-07-30T23:36:59.000Z","size":2604,"stargazers_count":20,"open_issues_count":2,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-31T02:08:22.896Z","etag":null,"topics":["add-to-cart","amazon","amazona","codescene","learn","mern-project","mern-stack","mongodb","student-vscode"],"latest_commit_sha":null,"homepage":"https://fancy-scarf.cyclic.app/","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/mian-ali.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2022-02-03T12:26:20.000Z","updated_at":"2025-07-30T23:36:55.000Z","dependencies_parsed_at":"2024-01-09T22:47:00.448Z","dependency_job_id":"178f84df-54a3-45cd-b303-3707f94bfe5c","html_url":"https://github.com/mian-ali/AmazonaShop","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mian-ali/AmazonaShop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mian-ali%2FAmazonaShop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mian-ali%2FAmazonaShop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mian-ali%2FAmazonaShop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mian-ali%2FAmazonaShop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mian-ali","download_url":"https://codeload.github.com/mian-ali/AmazonaShop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mian-ali%2FAmazonaShop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278452376,"owners_count":25989162,"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-05T02:00:06.059Z","response_time":54,"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":["add-to-cart","amazon","amazona","codescene","learn","mern-project","mern-stack","mongodb","student-vscode"],"created_at":"2024-11-07T10:37:10.670Z","updated_at":"2025-10-05T12:12:01.941Z","avatar_url":"https://github.com/mian-ali.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AmazonaShop\n\n\n\u003e Build an e-commerce app like Amazon by MERN Stack\n\n## Live Preview Project \n- Production Link Change due to Heroku Free tier account closed, move Heroku cyclic.sh\n[Demo Project](https://fancy-scarf.cyclic.app//)\n\n\n## Features\n\n- Full-featured shopping cart\n- Product reviews and ratings\n- Top products carousel\n- Product pagination\n- Product search feature\n- User profile with orders\n- Admin product management\n- Admin user management\n- Admin Order details page\n- Mark orders as a delivered option\n- Checkout process (shipping, payment method, etc)\n- PayPal / credit card integration\n- Database seeder (products \u0026 users)\n\n## Usage\n\n### ES Modules in Node\n\nWe use ECMAScript Modules in the backend of this project. Ensure you have at least Node v14.6 or higher; otherwise, you will need to add the \"--experimental-modules\" flag.\n\nAlso, when importing a file (not a package), be sure to add .js at the end or you will get a \"module not found\" error\n\nYou can also install and set Babel if you would like\n\n### Env Variables\n\nCreate a .env file in the root and add the following\n\n```\nNODE_ENV = development\nPORT = 5000\nMONGO_URI = your mongodb uri\nJWT_SECRET = 'abc123'\nPAYPAL_CLIENT_ID = your paypal client id\n```\n\n### Install Dependencies (frontend \u0026 backend)\n\n```\nnpm install\ncd frontend\nnpm install\n```\n### Run\n```\n# Run frontend (:3000) \u0026 backend (:5000)\nnpm run dev\n\n# Run backend only\nnpm run server\n```\n## Build \u0026 Deploy\n\n```\n# Create frontend prod build\ncd frontend\nnpm run build\n```\n\nThere is a Heroku post-build script, so if you push to Heroku, no need to build manually for deployment to Heroku\n\n### Seed Database\n\nYou can use the following commands to seed the database with some sample users and products as well as destroy all data\n\n```\n# Import data\nnpm run data:import\n\n# Destroy data\nnpm run data:destroy\n```\n\n```\nSample User Logins\n\nFill Register Page and create own account   (Customer)\n\nadmin@example.com (Admin)\n123456\n\nali@example.com (Customer)\n123456\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmian-ali%2Famazonashop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmian-ali%2Famazonashop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmian-ali%2Famazonashop/lists"}