Skip to content

koshikraj/QRlogin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QRlogin

Introduction

A simple application consisting of ReactJS frontend, React Native mobile app and Tornado Python webserver to demonstrate authentication using a QR code scanner.

Quick start

The demonstration consists of 3 part, launching a web application, mobile app and the web server.

Web Application

cd qr-login-web

  • Install dependecies

    yarn install

  • launch the app

    yarn start

Mobile Application

cd qr-login-web

  • Install dependecies

    yarn install

  • launch the app

    yarn start

Web Server

cd qr-server

Make sure to use python version >= 3.5

  • Install dependecies

    pip install -r requirements.txt

  • launch the app

    python main.py

Live Demo

  • Download expo app from the google play store or iOS app store

  • Scan the following QR code to test the deployed app in snack

expo snack

Thank you!