Skip to content

2FA Mobile is used to generate OTPs for 2FA-enabled resources

License

Notifications You must be signed in to change notification settings

peterdee/2fa-mobile

Repository files navigation

2FA Mobile

2FA Mobile is used to generate OTPs for 2FA-enabled resources

QR codes for the testing can be generated with 2FA Generator

Additional project applications

2FA Backend application: https://github.com/peterdee/2fa-backend

2FA Generator application: https://github.com/peterdee/2fa-generator

2FA WEB application: https://github.com/peterdee/2fa-web

Required resources

Application requires an access to the camera in order to be able to scan the QR code

Deploy

git clone https://github.com/peterdee/2fa-mobile
cd ./2fa-mobile
nvm use 16
npm i

Environment variables & required files

The .env file is required, see .env.example for details

The backend-url.ts file in the constants directory is also required, it can be automatically generated if the project is launched with npm start, or it can be manually created, see backend-url.example.ts for details

Launch

Launch development server:

npm start

Launch on Android emulator:

npm run android

Launch on iOS emulator:

npm run ios

License

MIT