Skip to content

lokaimoma/Flask-QR-Code-Web-APP

Repository files navigation

QR code generator & decoder web app

This is a Flask poject for creating QR codes and also decoding them. No qr code templates are provided for now, also care should be taken when styling the qr code, not all scanners can scan some of the styles provided in this application.

Tests

Demo

Youtube video link

Screenshots

Generate Qr tab Decode Qr tab

Requirements

Quickstart

  • Clone project
git clone https://github.com/lokaimoma/Flask-QR-Code-Web-APP.git
  • Install dependencies
poetry install --no-root

On linux install this dependency for pyzbar to work correctly

sudo apt-get install libzbar0

On mac os

brew install zbar
  • Add .env file You can rename .env_example to .env, and put in the right values for each entry. You can leave FLASK_APP as it is.

  • Create dabase tables Whiles in the project root execute the command below to create the database tables.

    poetry run flask db upgrade head
  • Run

poetry run python app.py

The web app will run on http://localhost:5000

Run tests

To run the available tests use the command

poetry run pytest

Technologies used

Licence

MIT License

Copyright (c) 2022 Owusu Kelvin Clark

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

[APP] A web app for generating and decoding qr code built with python-flask.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published