Skip to content

intelligentplant/ip_react_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IntelligentPlant React Demo

This is an application built to act as a starting point for Intelligent Plant applications built with React.

It uses the Intelligent Plant API Module to fetch user data, datasources and tags. Real-time data is handled via SignalR.

Security wise, this app is not ready for production unless the following concerns are tackled: 1. Keep authorization token somewhere other than local storage 2. Use the Proof Key for Code Exchange for oAuth with passing of the state and a unique value.

The auth token is stored in local storage, which to be moved elsewhere for production due to security concerns.

Installation:

  • Start by creating a new developer account at https://appstore.intelligentplant.com/, and fetching your CLIENT_ID and CLIENT_SECRET

  • Copy your IntelligentPlant CLIENT_ID and CLIENT_SECRET to .env.example and rename it to .env

  • Add http://localhost:3000/receive to your Authorized Redirect Urls in your IntelligentPlant application

  • npm install

  • npm start

Screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published