Giter Site home page Giter Site logo

content-sdk-for-nodejs's Introduction

This project has been superseded by the Content Management SDK.


Content and Experience Cloud - Content JS SDK (NodeJS)

The Content SDK for Oracle Content and Experience Cloud is a light-weight JavaScript wrapper that interacts with the Content REST APIs. This read-only SDK retrieves structured content, digital assets, and content layouts that are managed in Content and Experience Cloud. The Content SDK allows you to write a NodeJS application that is content rich - allowing the use of Content and Experience Cloud for a comprehensive Content management, authoring and approval, and delivering on your own channel through your NodeJS application.

The Content SDK consists of three main modules:

  • ContentSDK: The main entry-point object. The ContentSDK object lets you create client objects to access content based on your requirements.
  • ContentDeliveryClient : A client object that is set up to access published content items and digital assets.
  • ContentPreviewClient : A client object that is set up to access content types, draft content items, and draft digital assets.

The Content SDK for NodeJS provides a NodeJS runtime to support two samples, one for testing the Delivery client, and the other for the Preview client. The samples provide code examples of how to integrated Content from Content and Experience Cloud into your own NodeJS application.

Documentation

Developing for Oracle Content and Experience Cloud https://docs.oracle.com/en/cloud/paas/content-cloud/developer/content-sdk.html

Content JS SDK - JS Doc https://docs.oracle.com/en/cloud/paas/content-cloud/sdk-content-delivery/ContentSDK.html

Administering Oracle Content and Experience Cloud https://docs.oracle.com/en/cloud/paas/content-cloud/administer/use-rest-apis-sites-sdk-and-content-delivery-sdk.html

Integrating Oracle Content and Experience Cloud https://docs.oracle.com/en/cloud/paas/content-cloud/solutions/use-rest-apis-sites-sdk-and-content-delivery-sdk.html

Installation

Prerequisite: node.js 10.9.0 or later, and node and npm on your path.

npm install

Start Local Server

npm start

Run Delivery Client Samples

node ./samples/delivery.js

Run PreviewClient Samples

node ./samples/preview.js

content-sdk-for-nodejs's People

Contributors

kmacdonao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.