Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Affinidi Demo Browser App powered by Affinidi SDK

Notifications You must be signed in to change notification settings

affinidi/affinidi-demo-browser-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Affinidi Demo Browser App powered by Affinidi SDK

This is a react application that has a basic UI with some of the functionalities that Affinidi SDK offers. You can use this app to play around with some of the functionalities offered in the Affinidi SDK and eventually enable SSI for your own application(s).

Installation

npm install

Install using npm instead of yarn because the current package-lock.json was generated using npm.

Environment

API key is required to use this application. You can get the API key here

Using the API KEY:

  • Option 1: create an .env file by cp .env.example .env and replacing the value in the <<>>

  • Option 2: Add the API key created above to your package.json into the start and build commands like this:

......
  "scripts": {
    "start": "REACT_APP_ENVIRONMENT=prod REACT_APP_API_KEY=........ react-scripts start",
    "build": "REACT_APP_ENVIRONMENT=prod REACT_APP_API_KEY=........ react-scripts build",
......

Build

npm run build

Builds the app for production to the build folder.

Below was generated by Create React App.

Finally, run your own react application powered with SSI capabilities from Affinidi SDK on your local machine.

Start

npm start

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.

About

Affinidi Demo Browser App powered by Affinidi SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published