Commit graph

10 commits

Author SHA1 Message Date
e256a9db25 Add basic poll support 2025-01-18 14:19:46 -05:00
71e6e2cbef Add votes.json to the gitignore 2025-01-18 13:37:03 -05:00
53fe4b0f0a Update axum and the rest of the crates 2025-01-18 13:36:52 -05:00
5c1f7c98c1 Save votes to JSON as soon as they come in
For hopefully fewer cases of data loss if the program is killed.
2025-01-18 13:33:36 -05:00
40c6ed2c44 Move the voting API under one route
Instead of /submit and /view, it's either a GET or POST request against
/votes/:slug.
2025-01-18 13:30:53 -05:00
70bfb11e46 Re-arrange .to_owned() placement to stop clippy from complaining 2023-09-24 18:45:34 -04:00
fbdea47acd Optimize the size of the release binary 2023-09-24 18:43:29 -04:00
d17ab98f6c Remove unnecessary mut 2023-09-24 18:33:07 -04:00
bd21569ab9 Replace rocket with axum 2023-09-24 18:26:21 -04:00
7b3f489251 Add initial files 2023-04-15 16:33:01 -04:00