Skip to content

Latest commit

 

History

History

server-to-server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Server-to-server Node.js App - WKND Adventures

An example server-to-server Node.js application that highlights Adobe Experience Manager's GraphQL APIs and the AEM Headless Client for Node.js. This application is simple: it queries AEM for WKND adventure data, and prints out the JSON response. Typically server-to-server applications will retrieve data from AEM and sync it with other systems, or generate some other form of output.

Server-to-server app screenshot

Tutorial

A corresponding tutorial is available where you can learn how to setup and run the application to query data from an AEM environment using GraphQL.

How to use

  1. Download and install Node.js and npm

  2. Clone this git repository

  3. Run the app from the command line. You will need an AEM as a Cloud Service host (for example, https://publish-p123-e789.adobeaemcloud.com) and optionally an AEM as a Clouds Service service credentials file if the GraphQL requests require authorization.

    $ cd aem-guides-wknd-graphql/server-to-server-app
    $ npm install
    $ node index.js AEM_HOST
    or 
    $ node index.js AEM_HOST RELATIVE_PATH_TO_SERVICE_CREDENTIALS

System Requirements

AEM as a Cloud Service Sample Content Node npm
Continual WKND Shared 2.0+ or WKND Site 2.0+ 10+ 6+

Documentation