2024-07-23 21:51:42 +01:00
|
|
|
# Fabula Votes
|
|
|
|
|
|
|
|
This web application is intended as a simple way to share Truths for an upcoming campaign of [Fabula Ultima](https://need.games/fabula-ultima/),
|
|
|
|
vote and who we think wrote them and see some stats !
|
|
|
|
|
|
|
|
# TODO
|
|
|
|
|
|
|
|
A list of things that could be implemented/added to the application, some of them are needed for "feature completeness" !
|
|
|
|
|
2024-07-26 00:50:38 +01:00
|
|
|
- [x] Being able to change from one week to the next
|
|
|
|
- [x] Create new weeks for the admin
|
2024-07-26 01:08:30 +01:00
|
|
|
- [x] Proper week redirection
|
2024-07-26 00:45:53 +01:00
|
|
|
- [ ] Correctly handle non-existing week number
|
2024-07-23 22:14:18 +01:00
|
|
|
- [x] Add introduction to the weekly truths
|
2024-07-23 21:51:42 +01:00
|
|
|
- [ ] Bundle static assets in the binary
|
2024-07-23 22:14:18 +01:00
|
|
|
- [ ] Move the database queries to their own functions
|
2024-07-23 21:51:42 +01:00
|
|
|
- [ ] Cache those results
|
|
|
|
- [ ] Centralize Markdown parsing ?
|
2024-07-27 21:22:34 +01:00
|
|
|
- [x] Use fairings for the different elements
|
2024-07-26 00:45:53 +01:00
|
|
|
- [ ] Use guards for User calls ?
|
2024-07-27 21:22:34 +01:00
|
|
|
- [ ] Use SQLite Row ID for User IDs rather than regular IDs, for randomness ?
|
2024-07-28 14:36:52 +01:00
|
|
|
- [x] Split user from vote data
|
2024-07-23 21:51:42 +01:00
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
|
2024-07-30 23:34:17 +01:00
|
|
|
This project currently uses, for the backend :
|
2024-07-23 21:51:42 +01:00
|
|
|
- [Rocket](https://docs.rs/rocket/0.5.1/rocket/), for the web application backend
|
|
|
|
- [SQLX](https://docs.rs/sqlx/0.7.4/sqlx/), for database access (this is only expeceted to be used with SQLite)
|
|
|
|
- [Tera](https://docs.rs/tera/latest/tera/), for templating
|
|
|
|
- [Argon2](https://docs.rs/argon2/latest/argon2/), for password hashing
|
|
|
|
- [Pull_down CMark](https://docs.rs/pulldown-cmark/0.11.0/pulldown_cmark/), for markdown rendering
|
|
|
|
|
2024-07-30 23:34:17 +01:00
|
|
|
For the frontend :
|
|
|
|
- [Chart.js](https://www.chartjs.org/), for rendering the vote graph.
|
|
|
|
|
2024-07-23 21:51:42 +01:00
|
|
|
# License
|
|
|
|
|
|
|
|
The code present in this repository is licensed under the Mozilla Public License 2.0.
|