Git Product home page Git Product logo

diva-js-age-check-frontend's Introduction

diva-js-reference-3p-frontend

This repository contains an example/reference frontend implementation that uses diva-react to show a nice GUI for IRMA authorization.

For the backend, diva-js-reference-3p-backend is used in combination with diva-irma-js to easily integrate IRMA attributes into NodeJS based applications.

IRMA is a decentralized, attribute based Identity Management protocol that allows easy and fine-grained authentication (and based on specific attributes) authorization. Attributes are issued by trusted issuers and therefore provide easy validation of users.

Features

This frontend in particular demonstrates

  • How attribute based authentication can be integrated into a frontend application.
  • How attribute based authorization can be integrated into a frontend application.
  • How frontends may use and display authentication/authorization status to their users.

Diva-react

This application is just an example implementation: it uses diva-react as its main library, see the documentation of that project for more details on how to integrate diva-react in your own application.

Running the application

  • Checkout the code
  • npm install
  • npm start

Note: for development, use npm run dev to run the application in development mode with hot reloading.

Note that in order for this application to work, the diva-js-reference-3p-backend needs to be running as well.

Tests

Cypress.io is used to perform frontend tests. To run the tests:

  • make sure the frontend is running
  • npm run test

Note: during tests, the backend is mocked.

IRMA

For more information about IRMA, see: https://privacybydesign.foundation/irma/

The IRMA client apps can be downloaded from their respective app stores:

Other components in the IRMA ecosystem include:

diva-js-age-check-frontend's People

Contributors

jelle-nauta avatar koen92 avatar timenolthof avatar transducer avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.