Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rtyler/dotdotvote
A simple web application for dot-voting
https://github.com/rtyler/dotdotvote
async-std rust tide
Last synced: 2 months ago
JSON representation
A simple web application for dot-voting
- Host: GitHub
- URL: https://github.com/rtyler/dotdotvote
- Owner: rtyler
- License: agpl-3.0
- Created: 2020-09-16T18:09:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-20T22:45:40.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T22:48:46.155Z (8 months ago)
- Topics: async-std, rust, tide
- Language: JavaScript
- Homepage: https://www.dotdotvote.com
- Size: 3.76 MB
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 11
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE.txt
Awesome Lists containing this project
README
= 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.* `RUST_LOG=info cargo run` will build and run the application locally. After
which link:http://localhost:8000/[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 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]