Skip to content
ebonertzPublic

About

Node.js based application that uses the Node SDK to call commercetools

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

40 Commits

Folders and files

Repository files navigation

Node.js Hello API

Simple Node.js based application that fetches customers and products from a commercetools project.

Uses commercetools nodejs SDK

Setup

  1. Install the latest version of node on your system
  2. Clone this repository
  3. Copy your Client Id, Client Secret and Project Key from the commercetools Merchant Center
  4. Insert these strings into the config.js file
  5. Verify your Auth and http hosts. This is dependent on which datacenter your commercetools project is hosted on.
US
Auth Host
https://auth.commercetools.co
http Host
https://api.commercetools.co

EU
Auth Host
https://auth.sphere.io
http Host
https://api.sphere.io


Request Builder

Build custom URI's for your requests

More info here

Build and Start

Gulp runs build and start command for you

On build code is transpiled by babel from /src to /dist

On start node runs the index file from /dist

$ npm install

$ gulp

About

Node.js based application that uses the Node SDK to call commercetools

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages