Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 1.8 KB

File metadata and controls

63 lines (40 loc) · 1.8 KB

Kentico Cloud ❤️ Jest, React, Vue, and Angular

All of the applications load the articles from Kentico Cloud and display its titles in the output.

This repository contains show cases, how does the Kentico Cloud Delivery SDK could be used in combination with:

If you want to take a look in detail - Open the appropriate folder for the description, or click Readme link.

Data loading

Applications are using Kentico Cloud Delivery SDK for Javascript as an npm package to load articles from the sample Kentico Cloud project.

import { DeliveryClient } from 'kentico-cloud-delivery';

const client = new DeliveryClient({
  projectId: "975bf280-fd91-488c-994c-2f04416e5ee3"
});

client.items()
  .type("article")
  .getPromise()
  .then(result => {
    console.log(result.items);
  })

How to run

Common prerequisites

For all of the application just navigate to your folder and run

cd kc-jest # OR cd kc-react OR kc-vue or kc-angular
npm install # to install all the defined dependencies
npm start

How does it look like

Jest

Jest showcase

React

React showcase

Vue

Vue showcase

Angular

Angular showcase