An open-source wasteof.money frontend/backend implementation
cargo run -q -p backend
To run the frontend, you need trunk
, and the WASM target added. See the Yew tutorial for more deatils.
cd frontend
trunk watch
[Unit]
Description=wasteof.time Backend
[Service]
Restart=on-failure
RestartSec=5s
ExecStart=cd wasteof.time; cargo run -q -p backend
[Install]
WantedBy=default.target
[Unit]
Description=wasteof.time Frontend
[Service]
Restart=on-failure
RestartSec=5s
ExecStart=cd wasteof.time/frontend; trunk serve
[Install]
WantedBy=default.target