code
Clone this repository
https://tangled.org/a.starrysky.fyi/calpoll
git@tangled.org:a.starrysky.fyi/calpoll
For self-hosted knots, clone URLs may differ based on your setup.
It'd be nice to integrate this with nilla (especially so as not to have
to maintain double the lockfiles/etc.) but for now I guess this is OK...
We've chosen to go with leptos as our server as, since as we're writing
in rust, it'll allow us to write the backend/frontend in the same
language and nicely call between them.
This is their example project, modified to use a later edition of rust
and to remove the license (their sample is Unlicense) since as I plan to
AGPL this.
If you're interested in creating something like this yourself, please
look here:
https://book.leptos.dev/ssr/21_cargo_leptos.html