A UI for interacting with the data stored in the PDC service.
The application depends on an Open ID Connect ("OIDC") identity provider ("IdP") for authentication. It should be agnostic about what kind of IdP is used. To use the front-end application, you will need to be able to log in.
The IdP needs a client for the front-end. The IdP should be configured for the client to use the Authorization Code flow. This client is a public client, and so should not have a secret, and should not be able to log in with a client credentials grant.
Set the client root URL to the app's URL
(or http://localhost:${PORT}
in development),
and set the redirect URI to /authentication/callback
.
Run npm install
from the top level of this tree.
Copy the .env.example
file to .env.local
,
and replace the placeholder values with your specifics.
Your new .env.local
file will not be picked up by git.
Then run npm start
.
The environment variables documented in .env.example
will need to be configured in your deployment system;
the values must be present at build time.
This app can be deployed to multiple platform services: