rtyler / dotdotvote

A simple web application for dot-voting

Home Page:https://www.dotdotvote.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dot dot Vote!

This is a simple web application for Dot-voting.

The goal is to create a simple and anonymous dot-voting system which allows people to create quick polls to run with their teams.

Hacking

Since this is a Rust project, Rust and Cargo are both required in order to build and test.

  • RUST_LOG=info cargo run will build and run the application locally. After which localhost:8000 will have the application up and running.

  • cargo test will run the tests, of which there are very few at the moment!

The application is built with Tide for the web tier and sqlx for the database tier.

The views are all very simple HTML and a little bit of JavaScript written with Handlebars

In order to experiment with the API, execute cargo run and then access localhost:8000/apidocs/index.html

About

A simple web application for dot-voting

https://www.dotdotvote.com

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 85.3%Language:Rust 7.3%Language:Handlebars 4.7%Language:HTML 1.5%Language:CSS 0.9%Language:Dockerfile 0.3%Language:Shell 0.0%