An open API service indexing awesome lists of open source software.

https://github.com/precla/pollsite

Simple website to get votes from customers and view them in a admin panel
https://github.com/precla/pollsite

Last synced: 3 months ago
JSON representation

Simple website to get votes from customers and view them in a admin panel

Awesome Lists containing this project

README

          

## About

Simple website to get votes from customers

Features:
- First three questions are static, fourth one can be changed from admin panel
- Set target values to see if you met your target
- export data to a XML file

Requires:
- PHP 5.x.x
- MySQL

External dependencies (included in this repo):
- jquery
- jquery ui
- Chart.js
- moment.js
- php-export-data by Eli Dickinson, http://github.com/elidickinson/php-export-data

Setup:
- check and edit `db/config_EXAMPLE.php` and save as `config.php`
- create new database with the same name as set in `$db_name` in `config.php`
- load `db/default_db.sql` into the newly created database (or `default_db_with_example_data.sql` to have some data upfront to see how the program behaves)

Preview:

![Video preview](/example_pic/preview-video.webm?raw=true "Video preview")

![Admin panel](/example_pic/preview-1.png?raw=true "Admin panel")

![Vote index page](/example_pic/preview-2.png?raw=true "Vote index page")

![Vote visible for user](/example_pic/preview-3.png?raw=true "Vote visible for user")