Skip to content

T13: Fetch Products #7

Description

@BasakCesur
  • Test the API via Postman.

  • Fetch products

    • by thunk action and save it in the product reducer
    • endpoint /products
    • in response you will get Object like below:
    {
       total: 185,
       products: [
          { ProductObject1 }, 
          { ProductObject2 }, 
          
       ]
    }

After getting response you need to
- [ ] set total to Product Reducer
- [x] set products to Product Reducer

  • You should list products in the UI (shopping page)

  • While fetching products data, a loading spinner should be shown on the screen

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status
In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions