This is the laskugeneraattoori backend written in Rust.
The application is based on axum. PDF generation is based on typst.
The following variables can be configured in the environment (or the .env file)
# VARIABLE="default value"
PORT=3000
BIND_ADDR=127.0.0.1
ALLOWED_ORIGINS= # comma separated list of urls
MAILGUN_URL=
MAILGUN_USER=
MAILGUN_PASSWORD=
MAILGUN_TO=
MAILGUN_FROM=
cargo run
docker build . -t laskugeneraattori
docker run laskugeneraattori
``