GithubHelp home page GithubHelp logo

sdk-next's Introduction

SDK Based Integration Boilerplate for VSF 2

For internal use only. All changes are recorded in the CHANGELOG.md file.

This is a new integration boilerplate for VSF 2 integrations based on the SDK.

Requirements:

  • NodeJS v16 or later,
  • Yarn.

Repository structure

This repository contains a few necessary packages to help you get started building your new integration:

  • api-client - The API Client runs in the middleware and creates a server-to-server connection with service providers (e.g. commerce backend). It contains an exampleEndpoint with interfaces and unit tests, that can be used as an example for the other API endpoints,
  • sdk- Think of the SDK Connector as a communication layer between the storefront and the middleware. It contains an exampleMethod with example documentation, unit & integration tests, that can be used as an example for the rest SDK connector methods.
  • demo - Demonstrates the usage of api-client by creating an express server app. You can use this directory to demonstrate the usage of the integration.
  • docs - VuePress documentation with configured API extractor, to create an API Reference based on the api-client and sdk methods & interfaces.

Getting started

  1. Use this repository as a template.
  2. Navigate to api-client package and change all boilerplate occurrences to your integration name,
  3. Navigate to sdk package and change all boilerplate occurrences to your integration name,
  4. Navigate to docs package and change all boilerplate occurrences to your integration name,
  5. Install the dependencies,
yarn
  1. Build the packages,
yarn build
  1. Test the packages,
yarn test
  1. That's it. Now you can start the development,
  2. Enjoy.

sdk-next's People

Contributors

rohrig avatar

Watchers

 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.