Babu Enteprises -- react-cart
- Abdishakur Aden
- Allan Too
- Bravin Nyangusei
- Elvis Moses
- Lennis Maina
- Wol Dut Wol
dummyjson.com/products
An online store that shows items by name and price.
search, add to cart, delete from cart
home, login/signup, checkout
- As a user, you’re able to see images, descriptions and prices of items you want to buy.
- As a user, you’re able to search items by category.
- As a user, you’re able to add items to your cart.
- As a user, you’re able to delete items from your cart.
- As a user, you’re able to sort items by category and price.
- API limits, ie you may not be able to see all products on sale
- Data inaccuracies, eg, wrong pricing, wrong sizes of items, images may not match the product
- Cross browser compatibility issues, different browsers interpret HTML, CSS & JavaScript differently hence different results
- Dependency issues, that is some dependencies are no longer maintained by create-react-app. This can cause the application to crash at any time.
- Fork and clone the repo.
- Navigate to the directory of this app on your local machine.
- Enter “Code .” on the terminal to open up the app.
- Install node modules — “npm install”.
- Install react-router-dom — “npm install react-router-dom@6”.
- Install Tailwindcss — “1. npm install -D tailwindcss. 2. npm install -D tailwindcss postcss autoprefixer 3. npx tailwindcss init”
- Install react-toastify — “npm i react-toastify”.
- Then “npm start” to the application.