Skip to content

in2workspace/wallet-ui

Repository files navigation

Wallet Driving Application

by in2.es

Quality Gate Status

Bugs Vulnerabilities Security Rating Code Smells Lines of Code

Coverage Duplicated Lines (%) Reliability Rating Maintainability Rating Technical Debt

Introduction

IN2 Wallet Front is the presentation side application for the IN2 Wallet project. It is a Ionic Angular application.

Architecture

The application is based on the following architecture:

Wallet Driving Application (WDA)

Main Features

// TODO: Add the main features of the application

  • User login
  • User logout
  • User QR Scaning
  • User Verifiable Credentials management
  • User Prefered Language management
  • User Prefered Scaning Camera management
  • CBOR Credential Presentation.

Getting Started

This aplication is developed, builded and tested in Visual Studio Code

  1. Clone the repository: git clone https://github.com/in2workspace/in2-wallet-wda.git
  2. Install dependencies: npm install
  3. Install Ionic npm install -g @ionic/cli
  4. Start aplication in local development npm start
  5. Build docker image docker build -t wallet-wda .
  6. Run docker image docker run -p 4200:8088 -e WCA_URL=http://yourdomain.com -e LOGIN_URL=http://yourdomain.com wallet-driving-application

Customization

Build and Test

We have 3 different ways to build and test the project depending on the selected Spring Boot profile.

  • test profile: This profile is used for unit testing. It uses an in-memory database and does not require any external dependencies.
  • local profile: This profile is used for local development. It uses an in-memory database and generates default data to test the application. You need to run a set of docker containers to run the application (Orion Context Broker and MongoDb).
  • local-docker profile: This profile is used for local development. It uses a dockerized database and generates default data to test the application.
  • dev profile: This profile is used for development. It uses a dockerized database and generates default data to test the application.
  • docker you can set environment variables dinamicaly using '-e WCA_URL=http://yourdomain.com' all the diferent environment variables are WCA_URL, DATA_URL, LOGIN_URL, REGISTER_URL, EXECCONT_URI, VP_URL, CRED_URI, CREDID_URI, USER_URI

Contribute

License

Documentation