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.
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.
- Follow the tutorial at https://docs.kontent.ai/tutorials/develop-apps/get-started/build-your-first-app?tech=react
- Explore a live demo
- Head over to Kontent Docs for more resources.
This project is using the Kontent JavaScript Delivery SDK and was bootstrapped with Create React App.
Installs all the requiered dependencies.
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.
Launches the test runner in the interactive watch mode.
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!