Skip to content

iamchrissmith/voting-bloc

Repository files navigation

README

Build Status

Heroku App Demo
Database Schema

Demo User Account:
email: demo@demo.com
password: demo

Demo Admin Account:
email: admin@admin.com
password: admin

Voting Bloc is a rails application to track and vote in elections build in Ruby on Rails with React Component mixed in.

It was built to allow users to vote in election. Administrators view the results of elections as they are submitted (using React and ActionCable).

Users can also chose to run in an election by becoming a candidate and then selecting the eletion they want to run in.

Goals Accomplished in this project:

Users

  • There are three user roles: admin, candidates and users
    • Users can
      • login,
      • logout,
      • sign up for an account
      • vote in an active election,
      • change their role into Candidate
    • Candidates can do all of the above and
      • have access to edit their candidate profile
      • can put their name forward to run
    • Admins can Delete all
    • users,
    • candidates, and
    • elections.
    • In creating/editing an election, admins can add candidates to the ballot

Elections

- [ ] Multiple elections can be added, voted in and have their results reported

  • Elections should consist of candidates (i.e. a user role)
  • All users should only be able to vote once in each election
  • Once they have voted, users should be able to see how they voted
  • Elections have a start and end date.
  • Before they start any candidate can add their name
  • Once they are started, admins can edit the ballot
  • and all user types can vote (once).

Analytics

  • During an election admins can monitor voting results ~- [ ] After an election all users can see:
  • Election turn out (number of votes verse eligible voters)
  • Election results (votes per candidate in descending order)
  • Candidates can see their results across elections
  • Users can see their participation across elections~

Other Reqs

  • Heroku
  • Sessions, flashes, and maybe cookies
  • Authentication
  • Basic Styling

Extensions

- [ ] Twitter, Github, Facebook OAuth login

  • React Integration
  • Continuous Integration with Semaphore

About

Rails + React project to build a voting system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages