Custom SPA (Homework)

(Homework) In order to integrate custom SPA with CT via API you could use

  1. Go to https://docs.commercetools.com/sdk/

  2. Go to https://github.com/EPAM-JS-Competency-center/shop-react-redux-cloudfront and clone this repo

    (Setup Separate SPA API client for shop-react)

    Change product query from Custom API to CT API using CT SDK.

     shop-react-redux-cloudfront/src/queries/products.ts
    
  3. As a result you need to get PLP on Home screen with products from your CT Catalogue