Giter Site home page Giter Site logo

5amfung / target-nodejs-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adobe/target-nodejs-sdk

0.0 1.0 0.0 3.49 MB

Adobe Target Node.js SDK

Home Page: https://www.npmjs.com/package/@adobe/target-nodejs-sdk

License: Apache License 2.0

JavaScript 92.02% CSS 0.01% HTML 0.61% Smarty 0.15% Shell 0.29% TypeScript 0.24% Mustache 6.68%

target-nodejs-sdk's Introduction

Adobe Target Node.js SDK

npm npm build coveralls license

The Adobe Target Node.js SDK uses the Target Delivery API to retrieve and deliver personalized experiences. Furthermore, the Node.js SDK helps manage integrations with Experience Cloud solutions using the Experience Cloud Identity library (ECID).

Table of Contents

Getting started

Prerequisites

All currently maintained versions of Node.js are supported (including LTS versions), see Node.js Releases.
Older Node.js releases may likely work too, but are not officially supported.

Installation

To get started with Target Node.js SDK, just add it as a dependency by installing from NPM:

npm i @adobe/target-nodejs-sdk -P

Super Simple to Use

Please take a look at our documentation to learn how to use the Node.js SDK.

Development

Check out our Contribution guidelines as well as Code of Conduct prior to contributing to Target Node.js SDK development.

  • To build the project: npm run build
  • To run the unit tests: npm test
  • To generate code coverage after running the tests: npm run coverage

Additional code

Production dependencies include:

{
  "@adobe-mcid/visitor-js-server": {
    "version": "2.0.0",
    "license": "Adobe Proprietary license"
  }
}

Delivery API Client generation

The SDK depends on Target Open API. It uses Open API and the Open API generator to generate the low level HTTP client.

To be able to use Target Open API for code generation, we are leveraging Git subtree.

To refresh the local target-openapi subtree, use the command:

$ git subtree pull --prefix openapi [email protected]:adobe/target-openapi.git main --squash

The openapi-generator tool is located in the codegeneration directory, but there is no need to invoke it directly. Everything is wrapped in an npm command (execute from project root):

npm run codegen

back to top

target-nodejs-sdk's People

Contributors

xdex avatar jasonwaters avatar adobe-bot avatar ericfichtel avatar dcottingham avatar dependabot[bot] avatar eric-fichtel-adobe avatar andyruwruw avatar artur-ciocanu avatar shandilya3 avatar seeplusplus avatar filmaj avatar mptap avatar v-jiepeng 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.