R Tyler Croy
f6c12316f1
Was seeing failures on deployment because there are newer crates which don't compile out of the box |
||
---|---|---|
.github/workflows | ||
apidocs | ||
migrations | ||
scripts | ||
seeds | ||
src | ||
static | ||
views | ||
.dockerignore | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
Dockerfile | ||
LICENSE.txt | ||
README.adoc | ||
api-description.yml | ||
diesel.toml | ||
docker-compose.yml | ||
dredd.yml | ||
sqlx-data.json |
README.adoc
<html lang="en">
<head>
</head>
</html>
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 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