Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Affinidi Elements. Backend-proxy-service for Reference Application

License

Notifications You must be signed in to change notification settings

affinidi/elements-reference-app-backend

Repository files navigation

Repository Archived and Moved

This repository has been archived and moved to a new location. This means that the repository is no longer actively maintained or updated. Please note the new location of the repository and update your references accordingly.

New Repository Location

The repository has been moved to https://github.com/affinidi/reference-app-certification-and-verification

Archived Repository

This repository will remain available in its current location for historical purposes. You may continue to use or reference the code, but please be aware that it is no longer being actively maintained or updated.

Issues and Pull Requests

We will not be accepting any new issues or pull requests for this repository. If you encounter any issues with the code, please refer to the archived repository or the new repository location for potential solutions.


Affinidi Elements. Backend-proxy-service for Reference Application

Backend-proxy template for @affinidi/cli

Context

Affinidi’s vision is to empower communities with control and ownership of their data, creating new business models and greater trust.

As the customer demand for control and ownership of data continues to increase, it is becoming increasingly important for developers to better manage data privacy and portability within their apps. With our tooling, you can start creating a privacy-preserving app within minutes.

What are privacy-preserving apps?

Privacy-preserving apps make it easy to manage and store customer information while giving your customers more control over how this information is used and shared. We enable this data ownership and control through Decentralized Identifiers (DIDs) and Verifiable Credentials (VCs).

Learn more about VCs, trust triangle, Decentralized Identifiers (DIDs), and selective disclosure.

How to run

This repository is supposed to be used as a template for @affinidi/cli

Please refer to the documentation of @affinidi/cli for more details.

You may also clone this repository and run it separately, but in this case you need to follow these steps:

(You may skip first 3 steps if you already created a project before and know your api-key, projectId and projectDid)

  1. Install @affinidi/cli and create a project:

    npm install -g @affinidi/cli

    Use to this guide for more details: https://github.com/affinidi/affinidi-cli#installation:

  2. Create an account:

    affinidi sign-up

    Use affinidi login instead if you already have an Affinidi Account

  3. Create a project:

    affinidi create project

    Save response with your credentials in safe place.

  4. Copy .env.example to .env

    cp .env.example .env
    
  5. Replace placeholders in .env file with credentials from step 3:

    • <YOUR_AFFINIDI_APIKEY_HASH> - apiKey.apiKeyHash
    • <YOUR_AFFINIDI_ISSUER_DID> - wallet.did
    • <YOUR_AFFINIDI_PROJECT_ID> - project.projectId
  6. Run application:

    npm start
    

About

Affinidi Elements. Backend-proxy-service for Reference Application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published