An e-commerce website with the data fetching form API. Live demo here.
- To create an e-commerce website
- To consolidate the usage of redux, useState, useRef, react-router-dom
- To work with API
- To use styled-components
- react props, useState(), useRef(), react events, useEffect()
- react-router-dom
- redux-toolkit
- redux-persist
- styled-components
- axios
- materialUI: components(Badge, Tooltip, Drawer)
- ADD / REMOVE items to/from cart
- EDIT amount of items
- ADD / REMOVE items to/from whishlist
- ADD items of the whishlist to the cart
- Storing user info for the usage across app
- created by pure react
- Showing rating score as per data
- Showing data by categories
- Showing detail by single product
- Sorting data by popularity / rating / price
- created by pure react
- To show the corresponding picture that a user clicks on the smaller picture
- ADD certain amount of items to the cart
- TOGGLE feature to see more information
<ProductDetails/>
is the product detail page displaying data from fake store API. However, because of the limited info from fake store API, I made the other one for practice and wiich is<ProductDetailsDummy />
displaying dummy data (this kind of product detail page has more than one pictures)
- fake store api
Please use fakestore api user to log in. Here is one of them:
username: "mor_2314",
password: "83r5^_"
To do:
- Error handling
- react-stripe-checkout and order page
- (Resolved) To fix slider bug