https://github.com/andreyvpng/vkpoll
Web application for creating private voting with authorization via VK.
https://github.com/andreyvpng/vkpoll
flask flask-application postgresql vk vk-api vkontakte web website
Last synced: over 1 year ago
JSON representation
Web application for creating private voting with authorization via VK.
- Host: GitHub
- URL: https://github.com/andreyvpng/vkpoll
- Owner: andreyvpng
- License: bsd-2-clause
- Created: 2018-02-24T14:00:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T00:53:09.000Z (over 3 years ago)
- Last Synced: 2024-10-24T06:28:21.860Z (over 1 year ago)
- Topics: flask, flask-application, postgresql, vk, vk-api, vkontakte, web, website
- Language: Python
- Homepage: http://vk-poll.ru/
- Size: 161 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VKPOLL
> Web application for creating private voting with authorization via VK.
[](https://app.codacy.com/app/varf.andrey/vkpoll?utm_source=github.com&utm_medium=referral&utm_content=andreyvpng/vkpoll&utm_campaign=badger)
[](https://travis-ci.org/andreyvpng/vkpoll)
### 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=
```
Register an application for use API you can [here](https://vk.com/editapp?act=create).
Choose a website platform. The site address should be as follows: http://yoursite.com/auth/get_token
```commandline
set VK_API_ID=
set VK_API_SECRET=
set VK_API_URL=
```
Init database(for first run)
```commandline
flask db upgrade
```
Run application
```commandline
flask run
```
#### TODO:
- improve code style
- write tests
### License
Copyright (c) 2018, Andrey Varfolomeev. All rights reserved.
Licensed under the BSD 2-Clause License