Amsterdam / di-demo

Digital identity demo and test application
0 stars 7 forks source link

Digitale Identiteit - IRMA Demo site

This project provides the source code of the Amsterdam IRMA demo website. It consists of a React frontend and NodeJS backend which is in charge of communicating with an IRMA server. This project does not provide a locally running IRMA server.

Configure

Make sure to configure the backend properly. By default it is configured to connect to the Amsterdam IRMA server on the Acceptance environment. To be able to connect locally you will need to obtain the PRIVATE key.

Open /server/config/config.json.

{
    /* The requestor defined in the configuration of the IRMA server */
    "requestorname": "irma-demo",

    /* URL of the IRMA server */
    "irma": "https://attr.auth.amsterdam.nl",

    /* Port number the Node server listens to */
    "port": 8000,

    /* Document root of frontend to serve, only for demo */
    "docroot": "../client",
}

Run with docker-copmose

docker-compose up