Frontend2 React Web - Source code Shop online e-commerce By React & Node & MongoDB
MIT License
The FRONTEND2 REACT WEB is a free e-commerce website project for everyone to use. It is built in React & Node & MongoDB. And anyone can use it.
Support this project 😜 🙏
1. FRONT-END
- Shopping cart
- Save cart with cookie
- Customer login, logout
- Content: Product, Product List, Product Details, Category,...
- Product attributes: cost price, detail,...
- Search, Filter products by price,...
- Checkout, PlaceỎder,...
- Constrain the number of products in the cart:
+ Do not allow checkout when the cart is out of stock
+ Do not allow to enter the overloaded quantity with the number of goods in stock
+ ...
...
=================================================================
2. BACKEND-ADMIN
- Admin roles, permission
- Products manager (Create, delete, update)
- Orders management (Create, delete, update)
- Profile management (Create, delete, update)
- My OrderList (Show)
...
We are going to build the web application using:
For Windows : https://nodejs.org/en/
Test version:
node -v && npm -v
View tutorial, download and Install it from here: https://docs.mongodb.com/manual/administration/install-community/
git clone https://github.com/TanHongIT/frontend2_react_web
cd frontend2_react_web
Open new terminal. Go to databases directory path.
Then Run & Connect to MongoDB.
cd databases
mongoimport --db=tanhong --collection=products --file=products_is_tanhong_db_update.json
mongoimport --db=tanhong --collection=users --file=users_is_tanhong_db.json
Account login on Backend
user :
email: [email protected] | password: 123
email: [email protected] | password: 123
email: [email protected] | password: 123
Admin:
email: [email protected] | password: 12345
email: [email protected] | password: 1234
Open new terminal.
npm install
npm start
Open new terminal
cd frontend
npm install
npm start