/belenios-preferential-vote

Prototyping an UX/UI for preferential voting in Belenios

Primary LanguageJavaScript

belenios-preferential-vote

This repository contains several User Interface components meant to be used in Belenios, for preferential vote. They are implemented using Javascript ES6 and React (without JSX nor transpilation), and (will) use i18next for internationalisation.

Here is a demo of a vote User Interface which uses these components.

Browsing components using the index.html file

  • Install npm, optionnaly using nvm

  • If you choose to use nvm, then before executing the following commands, execute:

    nvm use current

  • Install the minimum dependencies required for this project (React, i18next, etc): npm install

  • Start a local web server in this directory (required for Javascript modules to load without CORS issues): npm start

  • And open your browser at the following URL:

http://localhost:8000/