The DCC Sandbox project was bootstrapped with Create React App.
This is a tool intended for developer experimentation and not for production use.
npm install --legacy-peer-deps
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000/sandbox to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
If you would like to test your own deployment of sign-and-verify and OIDC provider, please set the following variables on your machine:
OIDC_CONFIG_URL
: OIDC discovery URLSIGN_AND_VERIFY_API_URL
: sign-and-verify API URLPROVE_PRESENTATION_CHALLENGE
: challenge used to sign presentationsREQUEST_CREDENTIAL_CHALLENGE
: challenge used to request credentials
One way to do this is to set these values in a .env
file at the root of this project like this:
OIDC_CONFIG_URL=https://oidc-provider.example.com
SIGN_AND_VERIFY_API_URL=https://sign-and-verify.example.com
PROVE_PRESENTATION_CHALLENGE=prove-prez-challenge-123
REQUEST_CREDENTIAL_CHALLENGE=req-cred-challenge-123
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
This react project is deployed using github pages.
The master
branch contains the code, and gh-pages
contains the generated (to deploy) artifacts.
npm run deploy