Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.

Latest commit

 

History

History
43 lines (25 loc) · 2.44 KB

README.md

File metadata and controls

43 lines (25 loc) · 2.44 KB

Kontent React tutorial

No Maintenance Intended

⚠️ Deprecation Notice

This sample app on how to use Kontent with React has been archived. You can still use it as an inspiration for your own apps but it's not maintained anymore. We recommend you use the Kontent's JavaScript SDKs when building your own apps.

Live Demo Stack Overflow Discord

This is a simple React app that retrieves and displays content from Kontent by Kentico. It serves as a source code reference for the Building your first React app with Kontent tutorial.

This project is using the Kontent JavaScript Delivery SDK and was bootstrapped with Create React App.

Prerequisites

Available Scripts

npm install

Installs all the requiered dependencies.

npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.

npm run build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!