To use this template, ensure cargo-generate
is installed:
cargo install -f cargo-generate
To use this template, execute:
cargo generate --git https://github.com/myOmikron/webserver-template.git
To initialize the frontend run:
cd frontend/ && npm install
Also set the URL in frontend/scripts/gen-api.sh
from which the openapi.json
can be downloaded.
To initialize the backend run:
cargo build -p webserver