Skip to content

simple web application to collect contact information from visitors during the SARS CoV 2 pandemic

License

Notifications You must be signed in to change notification settings

bedo2991/SARS_CoV_2_Contact_Registration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SARS CoV 2 Contact Registration

A simple web application to collect contact information from visitors during the SARS CoV 2 pandemic.

Intention

Basic intention is to provide an alternative way to collect visitor data during SARS CoV 2 pandemic. Since regulations force us to collect this data and no mobile phone app should be used we started this approach

How it works

basically a visitor opens the web url, enters his/her data and retrives a qr code containing an unique id. On site this qr code is scanned by an employee on begin and end of the visitor visit. This way personal data is only tranfered once and you safe a lot of paper. Also an checkin/ checkout is independent of a mobile device since the visitor can also print this qr code. Visitor data is stored assymetric (why? because i can) within database and only users with admin permission can read this data. Visits and visitor data older than the given threshold will be deleted automatically.

Requirements

On visitor side ther is only a internet connection needed. To run this application server side Python >= 3.7 is needed. All required modules are listet within requirements.txt.

Usage visitor

  1. Open Url
  2. Enter Data
  3. Show qr code to a responsible employee

Usage employee

  1. open [yourdomain]:[port]/signin
  2. scan visitor qr code via web interface at the beginning of the visit (checks in automatically)
  3. scan visitor qr code via web interface at the end of the visit (via "checkout" button)

Supported devices

Actually every device with an browser. For scanning every mobile device with a camera or pc with a webcam

Limitations

Scanning is not available for ios devices as the used library can not access camera on these devices.

Installation

  1. clone repository to your server
  2. rename/ move ilsc.cfg_default to ilsc.cfg and flask.cfg_default to flask.cfg
  3. edit both configuration files to your needs
    1. sqlite database is created automatically, same for gpg-keys
  4. rename & edit default_gprd.html and default_imprint.html to your needs. Also address these files within ilsc.cfg
  5. (optionally if you want to use ssl) set usessl within ilsc.cfg to True and configure location of server certificates within this file
  6. run python main.py --config ./ilsc.cfg --flask-config ./flask.cfg either via screen or as system service
  7. login at [yourdomain]:[port]/signin
    1. default user: admin
    2. default password: admin
  8. open backend via "backend" top right
  9. change username and password and add (optional) users

Used third party modules

https://github.com/schmich/instascan thxalot nice work done dude

Disclaimer

I absolutely do not take over any responsibility for the correctness of imprint and gprd. If there is something wrong ... let me now

About

simple web application to collect contact information from visitors during the SARS CoV 2 pandemic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 59.1%
  • HTML 21.0%
  • JavaScript 14.7%
  • CSS 5.2%