{"id":15583291,"url":"https://github.com/tanhongit/frontend2_react_web","last_synced_at":"2025-04-24T03:44:14.734Z","repository":{"id":39012010,"uuid":"277495640","full_name":"tanhongit/frontend2_react_web","owner":"tanhongit","description":"Frontend2 React Web - Source code Shop online e-commerce By React \u0026 Node \u0026 MongoDB","archived":false,"fork":false,"pushed_at":"2023-01-06T00:31:57.000Z","size":79387,"stargazers_count":8,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-24T03:44:08.488Z","etag":null,"topics":["axios","body-parser","jsonwebtoken","mongodb","mongoose","node","nodejs","react","react-redux","reactjs","reactjs-cart","redux","shop-cart","shopping-cart","tanhongit","tanhongit-cart"],"latest_commit_sha":null,"homepage":"https://tanhongit.github.io/frontend2_react_web/","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/tanhongit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null},"funding":{"custom":["https://www.paypal.me/tanhongit","https://www.buymeacoffee.com/TanHongIT"]}},"created_at":"2020-07-06T09:13:56.000Z","updated_at":"2024-09-20T00:36:25.000Z","dependencies_parsed_at":"2023-02-05T00:17:07.381Z","dependency_job_id":null,"html_url":"https://github.com/tanhongit/frontend2_react_web","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanhongit%2Ffrontend2_react_web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanhongit%2Ffrontend2_react_web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanhongit%2Ffrontend2_react_web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanhongit%2Ffrontend2_react_web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tanhongit","download_url":"https://codeload.github.com/tanhongit/frontend2_react_web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250559521,"owners_count":21450167,"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":["axios","body-parser","jsonwebtoken","mongodb","mongoose","node","nodejs","react","react-redux","reactjs","reactjs-cart","redux","shop-cart","shopping-cart","tanhongit","tanhongit-cart"],"created_at":"2024-10-02T20:06:31.514Z","updated_at":"2025-04-24T03:44:14.716Z","avatar_url":"https://github.com/tanhongit.png","language":"JavaScript","readme":"# Welcome to FRONTEND2 REACT WEB by TANHONGIT\n\nThe FRONTEND2 REACT WEB is a free e-commerce website project for everyone to use. It is built in React \u0026 Node \u0026 MongoDB. And anyone can use it.\n- Customers do not need to know much about technology.\n- Powerful system, many useful functions.\n- Easy to access, easy to use.\n\n## Support the project\nSupport this project :stuck_out_tongue_winking_eye: :pray:\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.paypal.me/tanhongit\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/Donate-PayPal-green.svg\" data-origin=\"https://img.shields.io/badge/Donate-PayPal-green.svg\" alt=\"PayPal buymeacoffee TanHongIT\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# 2. Technology\n- React \u0026 Node \u0026 MongoDB\n- Framework Express \n\n# 3. Feature\n\n```\n1. FRONT-END\n    - Shopping cart\n    - Save cart with cookie\n    - Customer login, logout\n    - Content: Product, Product List, Product Details, Category,...\n    - Product attributes: cost price, detail,...\n    - Search, Filter products by price,...\n    - Checkout, PlaceỎder,...\n    - Constrain the number of products in the cart:\n      + Do not allow checkout when the cart is out of stock\n      + Do not allow to enter the overloaded quantity with the number of goods in stock\n      + ...\n    ...\n\n=================================================================\n\n2. BACKEND-ADMIN\n    - Admin roles, permission\n    - Products manager   (Create, delete, update)\n    - Orders management  (Create, delete, update)\n    - Profile management   (Create, delete, update)\n    - My OrderList  (Show)\n    ...\n```\n\n# 4. Configuration requirements\nWe are going to build the web application using:\n- [MongoDB](https://www.mongodb.com/)\n- [NodeJS](https://nodejs.org/en/)\n\n# 5. Running\n\n## 5.1. Install NodeJS\n\nFor Windows : https://nodejs.org/en/\n\nTest version: \n\n```bash\nnode -v \u0026\u0026 npm -v\n```\n\n## 5.2. Install MongoDB\n\nView tutorial, download and Install it from here: https://docs.mongodb.com/manual/administration/install-community/\n\n## 5.3. Clone repo\n\n```bash\ngit clone https://github.com/TanHongIT/frontend2_react_web\ncd frontend2_react_web\n```\n\n## 5.4. Import Database .json file to MongoDB\n\nOpen new terminal. Go to databases directory path.\n\nThen Run \u0026 Connect to MongoDB.\n\n```bash\ncd databases\nmongoimport --db=tanhong --collection=products --file=products_is_tanhong_db_update.json\nmongoimport --db=tanhong --collection=users --file=users_is_tanhong_db.json\n```\n\n\u003e **_Account login on Backend_**\n\n```\nuser :\n    email: hiiiii@gmail.com         | password: 123\n    email: reactweb@gmail.com       | password: 123\n    email: reactweb2020@gmail.com   | password: 123\n\nAdmin:\n    email: tanhong@gmail.com        | password: 12345\n    email: tanhongi@gmail.com       | password: 1234\n```\n\n## 5.5. Run Backend\n\nOpen new terminal.\n\n```bash\nnpm install\nnpm start\n```\n\n## 5.6. Run Frontend\n\nOpen new terminal\n\n```bash\ncd frontend\nnpm install\nnpm start\n```\n\n## 5.7. Go to Homepage\n\nRun http://localhost:3000\n\n\n\u003cp align=\"center\"\u003e\n     \u003cimg src=\"https://img.shields.io/packagist/l/doctrine/orm.svg\" data-origin=\"https://img.shields.io/packagist/l/doctrine/orm.svg\" alt=\"license\"\u003e\n\u003c/p\u003e\n","funding_links":["https://www.paypal.me/tanhongit","https://www.buymeacoffee.com/TanHongIT"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanhongit%2Ffrontend2_react_web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftanhongit%2Ffrontend2_react_web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanhongit%2Ffrontend2_react_web/lists"}