Git Product home page Git Product logo

msharsha / borda-count Goto Github PK

View Code? Open in Web Editor NEW
1.0 7.0 4.0 26.42 MB

In this project, we are tasked with developing a responsive website, which could be used for retrieving the optimal poll from the users. This website eliminates the need of sending bulk emails to a large list of users to gather their preferences and having to sort through each person to figure out the best preference.

Python 6.01% HTML 5.37% CSS 44.86% JavaScript 43.74% Procfile 0.01%

borda-count's Introduction

Borda-Count

image

This project is to build a website to implement borda count. It’s a method of aggregating individual preferences into a social preference. An administrator creates an event, which is a choice among K objects (e.g. times for a meeting). N different users then rank the K objects, and the website uses the Borda Count to deliver the top choice. Extensions use other algorithms also, like bidding with points.

The application implements the aggregation algorithm and a Python Django application for the users to submit their choice. Stakeholders for this project are Dr. Korok Ray, Dr. Duncan Walker.

Python Django

Installation

To create Virtual Environment(First Only, skip this step and activate Virtual Environment if you have the setup already.)

python3 -m venv myvenv

To activate Virtual Environment:

source myvenv/bin/activate

To update pip (First time only, skip this step if you're not setting up the application)

python -m pip install --upgrade pip

To install necessary packages for the applications use:

pip install -r requirements.txt Note: requirements.txt has the required packages for this application. Do pip freeze > requirements.txt to add newly installed packages.

To run migrations:

python manage.py migrate Note: Migrations are to be run for the first time and only when there's a change in models.py

To run the server:

python manage.py runserver Visit http://127.0.0.1:8000/ to see the Application running.

Deployment

The application is deployed at https://bordacount.herokuapp.com/

We maintained a different branch for each iteration and tagged them with the name of that respective iteration. Final source code till today can be found under the main branch.

Project Demo Video:

Fall 2021: https://vimeo.com/656439233 Spring 2022: https://youtu.be/W21kQuD2QHs

borda-count's People

Contributors

snehasingh95 avatar msharsha avatar sunanda333 avatar pvbhanuteja avatar revanth-reddy avatar harika-g avatar pcarribean avatar

Stargazers

 avatar

Watchers

James Cloos avatar Duncan Walker avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.