Code Monkey home page Code Monkey logo

commerce-sdk-1's Introduction

commerce-sdk

Salesforce Commerce Node.js SDK

CircleCI

What is This?

commerce-sdk is a Node.js SDK for Salesforce Commerce. It provides easy access to the Salesforce Commerce platform RESTful APIs.

It is a mono repo containing the tools needed to be a rockstar commerce developer on the Salesforce Commerce platform.

Visit the Commerce Cloud Developer Center to learn more about Salesforce Commerce. The developer center has API documentation, getting started guides, community forums, and more.

Packages

commerce-sdk

The generator package is responsible for generating the SDK from RAML files. Since the SDK is generated it is not a part of any repository. Read more about the SDK here and how the generator works here.

@commerce-apps/core

The Core package represents the core functions that call the APIs and interact with Salesforce Commerce. It is used by the SDK. Read more about the core package here.

@commerce-apps/exchange-connector

The exchange-connector package downloads RAML files from Anypoint Exchange to build the SDK. It is used by the generator but not the generated SDK. Read more about the exchange-connector package here.

Setup

All of these commands can be run from either the repo root or the package root.

# To setup
npm install

# To build
npm run build

Running Tests

Note: Instructions in the Setup section are prerequisites for this section

To run tests in all the packages, execute

npm test

To print the detailed test results and errors on the console, execute

npm run test:debug

To run tests in the core package only, execute

npm run test:core

To run tests in the exchange-connector package only, execute

npm run test:ec

To run tests in the generator package only, execute

npm run test:generator

Issues

First, check the open issues and Commerce Cloud Developer Center for any open issues related to the issue that you are experiencing. If not already raised please file a new issue here with all the necessary details. If you require an urgent resolution to your issue please ask your AM/CSM to file a support ticket with Salesforce Commerce.

Contributing

If you would like to contribute please take a look at our contributors' guide.

Additional Documentation

Using VSCODE Code Generation

commerce-sdk-1's People

Contributors

monkey-jeff avatar bredmond-sf avatar kalagarraj avatar gkhunger-sf avatar jbegleiter-sf avatar unandyala avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.