Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 months 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T00:53:09.000Z (about 2 years ago)
- Last Synced: 2024-07-30T21:00:07.313Z (5 months 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.
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/ec5d951423a34c7cbc3756d27ac88961)](https://app.codacy.com/app/varf.andrey/vkpoll?utm_source=github.com&utm_medium=referral&utm_content=andreyvpng/vkpoll&utm_campaign=badger)
[![Build Status](https://travis-ci.org/andreyvpng/vkpoll.svg?branch=master)](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.txtset 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