/FetchWoo

A program to fetch items from WooCommerce Plugin

Primary LanguageHTML

FetchWoo

A program to fetch items from WooCommerce Plugin

1. Before you begin

Things needed:

  • WooCommerce API Consumer Key
  • WooCommerce API Consumer Secret

Note: Currently, the WooCommerce API Key only needs READ access.

  • WordPress URL

Prerequisite:

  • Node.js Runtime

2. Setup

  • In the root directory, create a file called .env
  • Modify the following and paste these 3 lines in .env

CONSUMER_KEY= Put your consumer key here

CONSUMER_SECRET= Put your consumer secret here

URL= Put your WordPress URL here (ex. https://example.com/)

  • Run npm install in the root directory

3. Run

  • Run npm run start in the root directory