A simple application presenting truths and allowing people to guess on their authors for an upcoming campaign of Fabula Ultima
Find a file
trotFunky b1f37a4e4a templates: Make the index a class
The index is a full HTML page with some boilerplate that would be needed in all
pages deviating from the truth list, specifically the head and general structure.

Make the core structure a base template, rebuild the week index page inheriting
from it.
Change which template is used by the route accordingly.
2024-07-28 16:55:18 +01:00
db v1.1: Add weekly introductions 2024-07-23 21:51:51 +01:00
src templates: Make the index a class 2024-07-28 16:55:18 +01:00
static_files templates: Make the index a class 2024-07-28 16:55:18 +01:00
templates templates: Make the index a class 2024-07-28 16:55:18 +01:00
.gitignore v1.0: First production version 2024-07-23 21:51:42 +01:00
Cargo.lock vote: Always display graph for the admin 2024-07-26 23:49:23 +01:00
Cargo.toml vote: Always display graph for the admin 2024-07-26 23:49:23 +01:00
LICENSE.md v1.0: First production version 2024-07-23 21:51:42 +01:00
README.md Rocket: Use fairings for routes of sub-files 2024-07-27 21:22:34 +01:00
Rocket.toml v1.0: First production version 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, 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" !

  • Being able to change from one week to the next
    • Create new weeks for the admin
    • Proper week redirection
      • Correctly handle non-existing week number
  • Add introduction to the weekly truths
  • Bundle static assets in the binary
  • Move the database queries to their own functions
    • Cache those results
  • Centralize Markdown parsing ?
  • Use fairings for the different elements
  • Use guards for User calls ?
  • Use SQLite Row ID for User IDs rather than regular IDs, for randomness ?

Dependencies

This project currently uses :

  • Rocket, for the web application backend
  • SQLX, for database access (this is only expeceted to be used with SQLite)
  • Tera, for templating
  • Argon2, for password hashing
  • Pull_down CMark, for markdown rendering

License

The code present in this repository is licensed under the Mozilla Public License 2.0.