-
Notifications
You must be signed in to change notification settings - Fork 7
Ahmad-w2-react-assignment #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Ahmad-w2-react-assignment #21
Conversation
|
@sycons |
sycons
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following were implemented:
- App connects to endpoints in the API to fetch data for categories and products ✅
- Filter the products in the API and not in the frontend ✅
- App displays loading when waiting for request to complete fetching data ✅
- App shows an error message if the request failed ✅
- Clicking on product card goes to a detail page ✅
- Detail page fetches data from an endpoint ✅
- Deploy app somewhere (like netlify) and add link to PR ✅
Requested improvements:
- Remove
fake-datadirectory - Apply styling suggestions from week 1 to allow for gap between product cards
- The category list disappears when the products are loading or there is an error when fetching products. Please update so categories list is still visible.
sycons
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you have separate loading and error messages for the categories and products?
See comment for more info.
https://ecommerece22.netlify.app/