- Install Tools
- Create React App
- Create Git Repository
- List Products
- create products array
- render products
- style products
- Add routing
- route for home screen
- route for product screen
- Create Node.JS Server
- run npm init in root folder
- Update package.json set type: module
- Add .js to imports
- npm install express
- create server.js
- add start command as node backend/server.js
- require express
- create rouute for / return backend is ready
- move products.js from frontend to backend
- create route for /api/products
- return products
- run npm statrt
- Fetch Products From Backend
- set proxy in package.json
- npm install axios
- use state, effect & reducer hook
- Manage State By Reducer Hook
- define reducer
- update fetch data
- get state from useReducer
- Add bootsrap UI framework
- npm install react-bootstrap bootstrap
- update App.js
- Create Product and Rating Component
- create Rating component
- Create Product component
- Use Rating component in Product component
- Create Product Details Screen 1.fetch product from backend 2.create 3 columns for image, info and action
- Create Loading and Message Component
- create loading & message components
- use spinner component
- create utils.js to define getError function
- Implement Add To Cart
- Create React context
- define reducer
- create store provider
- implement add to cart button click handler
- Complete Add to Cart
- check exist item in the cart
- check count in stock in backend
- Create Cart Screen
- create 2 columns
- display item list
- create action column
- Complete Cart Screen
- click handler for inc/dec item
- click handler remove item
- click handler for checkout
-
Notifications
You must be signed in to change notification settings - Fork 0
myaserkhan/MERN-E_Commerce
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
React and Node a fully functional e-commerce website exactly like amazon. Built with React and Node.js.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published