+
Skip to content

jaidTw/Opinionate

Repository files navigation

Opinionate

We are tired of those stringent options of voting systems today, so we decided to make our owns. Opinionate is a voting system site built on Laravel. It supports various option types, anonymity of users, time-sensitive or privacy-concerned topics.

Deployment

First, use Laravel to create a new app.

laravel new opinionate

After it, remember to configure .env for database connection settings.

Then, set up the git repository to fetch.

git init
git remote add origin https://github.com/jaidTw/Opinionate.git
git fetch --all
git reset --hard origin/master

Or you can just download the archive and replace the original files.

Then do the database migration.

php artisan migrate

Todo

  • createTopic.blade.php
    • question sets and options number constraint.
      • trigger error by the number of DOM elements.
    • rewrite post with jQuery iterator
  • TopicController@store
    • add close_at validation
    • qs and opt number validation
    • may perform question set number checking
  • TopicController@update
    • qs and opt number validation
    • may perform question set number checking
  • Improve Landing Page
  • User dashboard
  • More friendly validation error message.
  • Replace pure sql statements with Eloquent ORM after demo
  • Improve i18n + zh-tw l10n

License

The MIT License

About

A voting site project for database course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载