Skip to content

Nabla-NTNU/vote

 
 

Repository files navigation

vote CircleCI Coverage Status

vote optimizes the election

Digital voting system for Abakus' general assembly, built using the MEAN-stack (mongoDB, Express, AngularJS, Node.js). Relevant (Norwegian) blog post: http://webkom.abakus.no/vote/

vote

Setup

vote assumes you have a MongoDB-server running on mongodb://localhost:27017/vote. To change the URL, export MONGO_URL as an environment variable.

$ git clone [email protected]:webkom/vote.git
$ cd vote
$ yarn
$ ./bin/users create-admin <username> <cardKey>

Usage

vote uses a RFID-reader to register and activate/deactivate users. This is done to make sure that only people that are at the location can vote. To access the RFID-reader vote is also packed as a Chrome-app, in the ./chrome-app-folder.

Development

$ yarn start

Production

$ yarn build
$ NODE_ENV=production yarn start

Tests

vote uses mocha for the backend tests and cucumber.js/protractor for the frontend tests. To run them all you can do:

$ yarn test

MIT © webkom, Abakus Linjeforening

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.7%
  • HTML 10.5%
  • Gherkin 5.3%
  • CSS 4.3%
  • Dockerfile 0.2%