Best Flask open-source libraries and packages

Vkpoll

Web application for creating private voting with authorization via VK.
Updated 6 years ago

VKPOLL

Web application for creating private voting with authorization via VK.

Codacy Badge Build Status

Create Poll

Create simple poll in order to know the opinions of people

Share!

Each poll creates a private link. Share it in the dialogs!

How to deploy

If you use linux instead of 'set', write 'export'

git clone https://github.com/andreyvpng/vkpoll.git
cd vkpoll
pip install -r requirements.txt

set FLASK_APP=run.py
set DATABASE_URL=<URL LINK TO DATABASE>

Register an application for use API you can here. Choose a website platform. The site address should be as follows: http://yoursite.com/auth/get_token

set VK_API_ID=<put_your_application_id>
set VK_API_SECRET=<put_your_secure_key>
set VK_API_URL=<put_your_site_address>

Init database(for first run)

flask db upgrade

Run application

flask run

TODO:

  • improve code style
  • write tests

License

Copyright (c) 2018, Andrey Varfolomeev. All rights reserved.

Licensed under the BSD 2-Clause License