IronCore is an SDK and cloud service that keeps application data private and secure. Get started with IronCore to grant, monitor, and revoke access to sensitive data in minutes. This sample React application shows how to add in the IronCore IronWeb JavaScript SDK to an existing application via Redux middleware.
Follow the tutorial to get started.
First, we need to clone the repo for this app:
git clone https://github.com/IronCoreLabs/getting-started-react.git
cd getting-started-react
Then, install all dependencies
yarn install
The application can then be started in two different modes:
yarn run insecure
Will start the application without encrypting any of the orders you create. This gives you a sense of how the application works before adding in the IronWeb SDK. Once you get a sense for how this works you can then run
yarn run secure
Which will layer in the Redux middleware for encrypting and decrypting orders. You can switch back and forth between these two different modes at anytime to see how the application behaves with and without the IronWeb SDK.
After running either of these yarn scripts your application should automatically open and be running locally at http://localhost:3000.
This application ships with a pre-generated set of API keys in order to simplify getting started. You can also generate your own API keys to use as well. Just change the configuration within the ./ironcore-config.json
file and replace the existing ./private.key
file with yours.
Copyright (c) 2019-present IronCore Labs, Inc. All rights reserved.