Demo on how to integrate with Grid Products using the Grid Products package
- Grid Products package and sample provided is only available using Typescript/Javascript
Package: https://www.npmjs.com/package/@ombori/grid-products API Documentation: https://developer.omborigrid.com/#/grid-products/
- NodeJS
- Make sure you have
npmoryarninstalled on your computer (preferrably yarn)
- Clone the repository
- Open the project directory
- Install packages by running
yarnoryarn install(if you use yarn) ORnpm install(if you use npm)
- Update
src/config.tsfile with your grid products configruation specified in the code comments
- Push Product Types
- Basic usage with extracting and parsing data from a excel file and push product types data to Grid Products
- This will read, parse, and push data from "src/files/product-types.xlsx"
- Run
yarn push-productTypesto run the function
- Push Products
- Basic usage with extracting and parsing data from a excel file and push products data to Grid Products
- This will read, parse, and push data from "src/files/product-feed.xlsx"
- Run
yarn push-productsto run the function
- More samples will be added soon