Installation

Download Build your app from sources#

App is NOT published in Appstore nor Google Play yet. Instead, you can build the app from sources from this repo GitHub Pages

Build Instructions#

You need to have setup dev environment for React Native, iOS and Android development.

  1. Clone the repo with source codes from this repo
  2. Run each command in Terminal

Mobile App#

npm install
cd ios && pod install
cd && npm run ios or cd && npm run android

Docs#

If you want to edit these docs you are currently browsing (built with Docusarus, ReactJS and Markdown), just clone the repo and then run this commands:

cd docs
npm install
npm run start
tip

To scan the QR codes using camera, you need to run mobile app 'on-device'. However, source code contains also "dummy" data, therefore with small tweaks you can run the app in simulator / emulator all time.

Tests#

The app comes with tests for business logic written in Jest.

npm run test
npm run test:coverage

Storybook#

The UI was built and tested, isolated from bussiness logic, using Storybook.

npm run storybook

Dependencies (Honourable mentions)#

From package.json#

"base45-js": "^1.0.1",
"buffer": "^6.0.3",
"crypto-js": "^4.0.0"
"isomorphic-webcrypto": "^2.3.8",
"react-native-keychain": "^7.0.0",
"cbor-js": "^0.1.0",
"react-zlib-js": "git+https://github.com/majirosstefan/zlib.git",
"jsonschema": "^1.4.0",
"moment": "^2.29.1",
"react-native-get-random-values": "^1.7.0",
"react-native-camera": "^3.4.0",
"react-native-qrcode-scanner": "^1.5.4",
"react-native-qrcode-svg": "^6.1.1",
"react-native-permissions": "^3.0.4",
"react-native-svg": "^12.1.1",
"react-native-svg-transformer": "^0.14.3",
"realm": "^10.4.1",
"rn-placeholder": "^3.0.3",
"react-native-flash-message": "^0.1.23",

Licensing#

Project is licensed under MIT license.