rtyler / dotdotvote

A simple web application for dot-voting
https://www.dotdotvote.com
GNU Affero General Public License v3.0
9 stars 4 forks source link
async-std rust tide

= Dot dot Vote!

This is a simple web application for link:https://en.wikipedia.org/wiki/Dot-voting[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.

The application is built with link:https://github.com/http-rs/tide[Tide] for the web tier and link:https://github.com/launchbadge/sqlx[sqlx] for the database tier.

The views are all very simple HTML and a little bit of JavaScript written with link:https://github.com/sunng87/handlebars-rust[Handlebars]

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