- npm run dev command to run the project
- npm run test command to run test for product list.
username: mor2314, password: 83r5^
In this project, the following things are implemented:
- Product List that is fetched and displayed using SSR, Infinite Loading is also implemeted.
- Product List can also be filtered by text.
- Login and logout functionality.
- Product Detail.
- Add/Delete/Edit Cart.
- Error Validations.
- API integration and redux toolkit implemented.
- Unit test for product list.
- Clean & smart code.
- SEO Optimization using SSR rendering.
- Data validation.
- Performance Optimization.
The only thing not implemented is fetching users cart when they login, thats because "https://fakestoreapi.com/carts/user/2" api does not provide with products it just sends product id and quantity in response, Its api and slices are implemented but to due its response i commented its implementation.