An open API service indexing awesome lists of open source software.

https://github.com/koshikraj/qrlogin


https://github.com/koshikraj/qrlogin

login python qrcode react-native reactjs websocket

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# 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](expo-snack.png)

* Open the web app at [http://projects.koshikraj.com/qrlogin/](http://projects.koshikraj.com/qrlogin/)

* Scan the QR code to witness the magic!

Thank you!