Clone the starter-files
branch via:
git clone -b starter-files --single-branch https://github.com/tru-ID/stepup-auth-simcheck
If you're only interested in the finished code in main
then run:
git clone -b main https://github.com/tru-ID/stepup-auth-simcheck.git
Create a tru.ID Account
Install the tru.ID CLI via:
npm i -g @tru_id/cli
Set up the CLI with the tru.ID credentials which can be found within the tru.ID console.
Create a new project via:
tru projects:create stepup-auth-simcheck --project-dir .
To start the server first install dependencies via:
cd server && npm install
Ensure Redis is running then run:
npm start
Then run ngrok. In the terminal where ngrok is running, run the following:
ngrok http 4000
This will give you a https
website e.g.
https://0d834043fe8d.ngrok.io -> http://localhost:4000
Update base_url
value in both Edit.js
and Register.js
found in the path: mobile/src/screens/
with your ngrok URL.
To start the mobile application first open up a new terminal and install dependencies via:
cd mobile && npm install
Then run:
npm run android
#or
npx pod-install
npm run ios
Distributed under the MIT License. See LICENSE