IN2 Wallet Front is the presentation side application for the IN2 Wallet project. It is a Ionic Angular application.
The application is based on the following architecture:
// 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.
This aplication is developed, builded and tested in Visual Studio Code
- Clone the repository:
git clone https://github.com/in2workspace/in2-wallet-wda.git
- Install dependencies:
npm install
- Install Ionic
npm install -g @ionic/cli
- Start aplication in local development
npm start
- Build docker image
docker build -t wallet-wda .
- Run docker image
docker run -p 4200:8088 -e WCA_URL=http://yourdomain.com -e LOGIN_URL=http://yourdomain.com wallet-driving-application
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