Sample React App which uses react library to fetch and display device details. It also updates the device details by taking an input from the user.
Follow the below steps to create a react app.
- Create a folder with the name of your choice. eg. react-app
- Navigate inside the folder and run the below command.
npx create-react-app sample-app --template typescript
- Navigate inside the sample-app folder that gets created and run the below command in order to use Cumulocity Inventory Service, in react project.
npm i @c8y/[email protected]
This app is provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.