Skip to content

Example application

This example application is intended to show you how to grant your own apps access to "IIH Essentials".

You will be able to request assets, tags and time series data from IIHE using your own code.

Prerequisites

You must carry out the following steps beforehand:

Build and execute

The example application can be launched both locally and via Docker.

Follow the steps below to start the example application via Docker:

  1. Open the command line in the folder with the "package.json" file and enter the following command:

  2. docker-compose up

Follow the steps below to start the example application locally:

  1. Open the command line in the folder with the "package.json" file and enter the following commands:

    • npm install (The necessary NodeJS modules are downloaded.)
    • npm run build
    • npm run start
  2. The example application is configured to run via Docker. For local execution, the IIH Essentials URL (".\client\dataservice-client.ts" line 17) must be changed to "http://localhost:4203".

Open application

Open the UI of the application in the browser "https://localhost:5200".


Except where otherwise noted, content on this site is licensed under the Siemens Inner Source License .